At 01:27 AM 11/3/2005 -0500, Mike Taylor wrote:
Just thought I would share the blog post with other devs - something to always keep in the back of your brain when manipulating dates :)

http://www.alexking.org/blog/2005/11/02/nasty-php-oddity/

FWIW, in Python you should use a timedelta(days=whatever) to move by days. That's why timedelta keeps the days separate from the seconds and such. (That is, because there are days that aren't 86400 seconds long.)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to