Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-09-15 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls