#include <time.h>
struct tm *ctime (const time *timer);
struct tm *ctime
The ctime function converts the calendar time pointed to by timer into a broken-down time expressed as local time.
The ctime function returns the pointer returned by the asctime function with that broken-down time as argument.