[Python-Dev] datetime +/- scalars (int, long, float)? (original) (raw)
Kevin Jacobs jacobs@penguin.theopalgroup.com
Mon, 4 Mar 2002 08:37:04 -0500 (EST)
- Previous message: [Python-Dev] datetime +/- scalars (int, long, float)?
- Next message: [Python-Dev] datetime +/- scalars (int, long, float)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 4 Mar 2002, Guido van Rossum wrote:
> You should name the type timestamp if you want to imply dt + n > == dt + n seconds. datetime + n is commonly understood as > dt + n days. [...] Is this just an mxDateTime convention, or is it in wider use? (URLs of docs of other languages / libraries would really help to convince me!)
I'm afraid that this really is the de-facto standard. However, lets be clear; is t=t+1 adding 1 (calendar) day or 24 hours (86400 seconds)?
-Kevin
-- Kevin Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com Fax: (216) 986-0714 WWW: http://www.theopalgroup.com
- Previous message: [Python-Dev] datetime +/- scalars (int, long, float)?
- Next message: [Python-Dev] datetime +/- scalars (int, long, float)?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]