The <time.h> include file declares the time and date functions:
| asctime | ctime | gmtime | mktime | strptime |
| clock | difftime | localtime | strftime | time |
In extended mode, <time.h> also defines the standard extensions _strdate, _strtime, and tzset.
<time.h> also provides:
For more information on NULL and the type size_t, see <stddef.h>.
<time.h> also defines the global variables _daylight, _timezone, and _tzname.
![]()
gmtime -- Convert Time
<stddef.h>
#include