A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/020613.html below:

[Python-Dev] datetime +/- scalars (int, long, float)?

[Python-Dev] datetime +/- scalars (int, long, float)?Guido van Rossum guido@python.org
Mon, 04 Mar 2002 08:02:16 -0500
> Hope you don't mind ;-) ...

Not at all, we're hoping to arrive at something usable and fun for all!

> 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*.

Hm, I hadn't thought of that.  To me seconds are the only thing that
makes sense because that's what a Unix timestamp does, but I haven't
read or written a lot of commercial code using date/time data.

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!)

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4