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.