strdate()

Stores a textual representation of the current date in a character string.

  #include <extras/extras_time.h> 
  char * strdate(char *str);   
Parameter

str

A pointer to a character string in which to store the current date.

Remarks

This function stores a null-terminated character string of the date in the buffer pointed to by str. The format of this string is mm/dd/yy. The buffer must be at least 9 characters long.

This function returns a pointer to the str argument.

This facility is not specified in the ISO/IEC standards. It is an EWL extension of the standard libraries.