in reply to getting answer 70 years off
From the documentation for Time::Local in CPAN:
This module provides functions that are the inverse of built-in perl functions localtime() and gmtime(). They accept a date as a six-element array, and return the corresponding time(2) value in seconds since the system epoch (Midnight, January 1, 1970 GMT on Unix, for example).
The difference between system epoch start (1970) and the localtime conversion point (1900) appears to account for your missing 70 years.
dwm042
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: getting answer 70 years off
by boftx (Deacon) on Jan 17, 2014 at 23:31 UTC | |
by MidLifeXis (Monsignor) on Jan 21, 2014 at 14:27 UTC |