#include <time.h>time_t mktime(struct tm *time);

The mktime( ) function returns the calendar-time equivalent of the broken-down time found in the structure pointed to by time. The elements tm_wday and tm_yday are set by the function, so they need not be defined at the time of the call.

If mktime( ) cannot represent the information as a valid calendar time, –1 is returned.

Related functions are time( ), gmtime( ), asctime( ), and ctime( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: