char *ctime(const time_t *timer
Returns a string representing the localtime based on the argument timer. This is equivalent to:
The returned string is in the following format:
DDD MMM dd hh:mm:ss YYYY
|Day of the week (Sun, Mon, Tue, Wed, Thu, Fri, Sat)|
|Month of the year (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec)|
|Day of the month (1,…,31)|
The string is terminated with a newline character and a null character. The string is always 26 characters long (including the terminating newline and null characters).
A pointer to the string is returned.