mkgmtime

Converts the time information into calendar time.

Library:LibC
Classification:Novell
Service:Time

Syntax

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

Parameters

gmtime

(IN) Points to the tm structure containing the local time information to convert to calendar time.

Return Values

Returns the converted time.

Remarks

The mkgmtime function converts the time information in the structure pointed to by the gmtime parameter into a calendar time. Calendar time is expressed in seconds since the epoch began (January 1, 1970, 00:00:00).

The mkgmtime function returns a value identical to mktime, but mkgmtime is reentrant and thread-safe.

See Also