Functions HI-TECH C TIME

Revision as of 00:14, 1 August 2017 by Kumokosi (talk | contribs) (Created page with "<strong>TIME</strong> ==SYNOPSIS== #include <time.h> time_t time(time_t * t) ==DESCRIPTION== This function returns the current time in seconds since 00:00:00 on J...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TIME

SYNOPSIS

#include  <time.h>

time_t    time(time_t * t)


DESCRIPTION

This function returns the current time in seconds since 00:00:00 on Jan 1, 1970. If the argument t is non-null, the same value is stored into the object pointed to by t. The accuracy of this function is naturally dependent on the operating system having the correct time. This function does not work under CP/M-86 or CP/M 2.2 but does work under Concurrent-CP/M and CP/M+.

SEE ALSO

ctime, gmtime, localtime, asctime