-

Difference between revisions of "Functions HI-TECH C ASCTIME"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 18:10, 31 July 2017

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