Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Providing Fractions of a second to DateTime?

by cmv (Chaplain)
on Jun 12, 2012 at 14:12 UTC ( #975811=note: print w/replies, xml ) Need Help??


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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://975811]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-12-03 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (54 votes). Check out past polls.