answersLogoWhite

0

The time.h include file is a header file for a library of standard time and date manipulation routines. For example...

#include <stdio.h>

#include <time.h>

int main (int argc, char ** argv) {

time_t tt = time(NULL);

printf ("The date and time is %s", asctime(localtime(&tt)));

return 0;

}

User Avatar

Wiki User

13y ago

What else can I help you with?