Zefram wrote:
Rick Measham wrote:
I'm still trying to convince people that you can't just add 24*60*60 to
time() to add a day ..
That's one of the things you *can* do, unless you're starting in a leap
second (in which case time() is ambiguous). time() increases exactly
86400 per UTC day, regardless of day length.
Sorry .. should have pointed out that they want to do it in local .. we
fight an uphill battle to get people to use UTC ... erm .. and if you're
fussed about DT not implementing future leap seconds how can you be
happy with adding 86400 seconds for a day (even in UTC) when leapseconds
make it ambiguous?
Cheers!
Rick Measham