in reply to Re: How can I convert epoch seconds to date format
in thread How can I convert epoch seconds to date format

wow... cheers for this. I develop primariliy in Java JS and python but have had to work with Perl quite a bit. As helpful as this is, I think its quite a shame that you have to hand-crank all this in Perl so you can read milliseconds from a timestamp..
  • Comment on Re^2: How can I convert epoch seconds to date format

Replies are listed 'Best First'.
Re^3: How can I convert epoch seconds to date format
by Anonymous Monk on Mar 23, 2015 at 11:07 UTC

    Well, this thread is 9 years old, and no, you don't have to code your own millisecond handling in Perl - for example DateTime handles everything down to nanoseconds. Dates can be parsed via DateTime::Format::Strptime or any of the other DateTime::Format::* modules.

Re^3: How can I convert epoch seconds to date format
by Anonymous Monk on Mar 24, 2015 at 00:19 UTC
    FWIW, you also did not have to do any of this in 2006 when jeanluca wrote that code, DateTime/DateTime::Format::Strptime were both available at that time