in reply to Providing Fractions of a second to DateTime?

DateTime::HiRes
  • Comment on Re: Providing Fractions of a second to DateTime?

Replies are listed 'Best First'.
Re^2: Providing Fractions of a second to DateTime?
by cmv (Chaplain) on Jun 12, 2012 at 14:12 UTC
    Thanks for the pointer to HiRes, but I don't think that helps. I already have the number of milliseconds since midnight from the log.

    What I think I need to do is to get DateTime to tell me the number of milliseconds from midnight to 14:01:00.000 on this date, then subtract that from the total number of milliseconds since midnight, then tell DateTime to add that result to the original timestamp that I calculated.

    When I read this back, it sounds too complicated. I must be missing something...