7.23.3.2 The ctime function
Synopsis
#include <time.h>
char *ctime(const time_t *timer);
Description
The ctime function converts the calendar time pointed to by timer to local time in the form of a string. It is equivalent to
asctime(localtime(timer))
Returns
The ctime function returns the pointer returned by the asctime function with that broken-down time as argument.
Forward References