ctime

ctime, ctime_s

Defined in header <time.h>
char* ctime( const time_t* time );
(1)
errno_t ctime_s(char *buffer, rsize_t bufsz, const time_t *time);
(2) (since C11)
1) Converts given time since epoch to a calendar local time and then to a textual representation, as if by calling asctime(localtime(t