-

Functions HI-TECH C ASCTIME

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 18:10, 31 July 2017 by Kumokosi (talk | contribs) (Created page with "<strong>ASCTIME</strong> == SYNOPSIS == #include <time.h> char * asctime(time_t t) == DESCRIPTION== <strong>Asctime</strong>() takes the broken down time pointed to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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