++ed by:

142 PAUSE users
117 non-PAUSE users.

Tim Bunce







timelocal is implemented using the same cache. We just assume that we're translating a GMT time, and then fudge it when we're done for the timezone and daylight savings arguments. The timezone is determined by examining the result of localtime(0) when the package is initialized. The daylight savings offset is currently assumed to be one hour.

Both routines return -1 if the integer limit is hit. I.e. for dates after the 1st of January, 2038 on most machines.