http://www.perlmonks.org?node_id=975811


in reply to Re: Providing Fractions of a second to DateTime?
in thread Providing Fractions of a second to DateTime?

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...