Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Rounding Issue in DateTime strftime?

by runrig (Abbot)
on Nov 14, 2011 at 19:24 UTC ( #938006=note: print w/replies, xml ) Need Help??


in reply to Re^2: Rounding Issue in DateTime strftime?
in thread Rounding Issue in DateTime strftime?

No, this only truncates if the nanoseconds round up to 1 second (assuming it works correctly).
  • Comment on Re^3: Rounding Issue in DateTime strftime?

Replies are listed 'Best First'.
Re^4: Rounding Issue in DateTime strftime?
by SparkeyG (Curate) on Nov 14, 2011 at 19:39 UTC
    Sorry, I should read the code and not make assumption. Yes you are correct, but it doesn't do what is expected.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2018-01-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (226 votes). Check out past polls.

    Notices?