Perl: the Markov chain saw | |
PerlMonks |
Re^4: How to use a different epoch with DateTimeby haukex (Archbishop) |
on Feb 16, 2017 at 09:16 UTC ( [id://1182130]=note: print w/replies, xml ) | Need Help?? |
Hi anita2R, The man page for DateTime notes that it does not account for leap seconds, so your results may be out. The section of the doc you are quoting refers only to the special "floating" time zone (Update: I consider the "floating" time zone to be the equivalent of "no time zone"). When you specify any time zone (including UTC), DateTime does handle leap seconds. Regards,
In Section
Seekers of Perl Wisdom
|
|