Table of Contents Previous topic Next topic
C COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->mktime()
time_t mktime(struct tm* pTime)
pTime Pointer to time structure tm
This function converts the (possibly incomplete) time structure pointed to by pTime into a fully defined structure with normalised values and at the same time generates a time_t calendar time value.
This function returns specified time encoded as a value of type time_t.
If the supplied time is a date before 1st January 1970 or is a value which cannot be represented, the function returns 1 cast to time_t.