Converts a time value into a string, adjusted for the local time zone.
char * ctime (time_t * timer);
Required Header |
<time.h> |
Return Value
This function returns a pointer to a string representation of timer.
Parameters
timer
A time value
Remarks
The ctime function is implemented through a call to asctime which returns a pointer to a static thread-safe buffer containing the string representation of timer.