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,
-- Hauke D
In reply to Re^4: How to use a different epoch with DateTime
by haukex
in thread How to use a different epoch with DateTime
by thimes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |