in reply to Re^3: How to use a different epoch with DateTime
in thread How to use a different epoch with DateTime

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

  • Comment on Re^4: How to use a different epoch with DateTime