#include <time.h> time_t mktime(struct tm *tptr);
This function converts a time structure into the number of seconds since 00:00:00 GMT 1/1/1970. It also attempts to normalize the fields of tptr.
The resulting time, or -1 if the time in tptr cannot be described in that format.
ANSI, POSIX
Go to the first, previous, next, last section, table of contents.