Syntactic Confectionery Delight | |
PerlMonks |
Re: getting answer 70 years offby dwm042 (Priest) |
on Jan 17, 2014 at 22:48 UTC ( [id://1071031]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|