Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 musing on the Monastery: (8)
As of 2015-07-31 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls