-

Functions HI-TECH C ASCTIME

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

ASCTIME

SYNOPSIS

#include  <time.h>

char *    asctime(time_t t)


DESCRIPTION

Asctime() takes the broken down time pointed to by its argument, and returns a 26 character string describing the current date and time in the format

Sun Sep 16 01:03:52 1973\n\0

Note the newline at the end of the string. The width of each field in the string is fixed.

SEE ALSO

ctime, time, gmtime, localtime