How Compute # of Days between Two Dates?
Grant Edwards
grante at visi.com
Mon Sep 1 10:08:05 EDT 2008
More information about the Python-list mailing list
Mon Sep 1 10:08:05 EDT 2008
- Previous message (by thread): Using an existing instance as parent
- Next message (by thread): How Compute # of Days between Two Dates?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2008-09-01, W. eWatson <notvalid2 at sbcglobal.net> wrote: > That's the question in Subject. For example, the difference between > 08/29/2008 and 09/03/2008 is +5. The difference between 02/28/2008 and > 03/03/2008 is 4, leap year--extra day in Feb. I'm really only interested in > years between, say, 1990 and 2050. In other words not some really strange > period of time well outside our current era of history. Does the standard library's datetime module not do what you want? http://docs.python.org/lib/module-datetime.html -- Grant
- Previous message (by thread): Using an existing instance as parent
- Next message (by thread): How Compute # of Days between Two Dates?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list