Python Forum
datetime module Does it count all added days in history?
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
datetime module Does it count all added days in history?
#1
Hi
The datetime module has a minimum year=1 I believe. My question is does it include all added days (which are many) to the calendar throughout history?
For those whom This thought is new many times through out history the calendar has had days added, weeks added, and yes even months added to bring the calendar back into sync with the world outside. If you live in North America can you image going out in December and it being 96 degree F?:)

Here's a link which appears to say it does not.
https://stackoverflow.com/questions/4172...0/41728884
Any other really good links you know about to peruse?
Here is a interesting link on history of calendar just to thank you for reading this so far.
http://www.historyworld.net/wrldhis/Plai...raphID=bvt
Yeah I know, my wife says I think too much.
Reply
#2
History includes many different calendars. The Gregorian calendar is generally the standard, and what the datetime module uses.

As for your question - I'm having a hard time figuring out what it is exactly, but from what I gather, you could write code that would answer it for you, no?
Reply
#3
Also, as pointed out in the linked Stack Overflow thread, the change in 1752 wasn't a change in the Gregorian calendar. That was when Britain and the U.S. switched from the Julian calendar to the Gregorian calendar.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  a feature i would like to see added to Python Skaperen 0 535 Oct-30-2023, 12:30 AM
Last Post: Skaperen
  New Advanced SQLAlchemy tutorial Added Larz60+ 0 1,751 Jun-11-2021, 02:34 AM
Last Post: Larz60+
  Colossus - The Greatest Secret in the History of Computing ThomasL 0 1,857 May-05-2020, 11:41 AM
Last Post: ThomasL
  History file variable keyfear 4 2,860 Apr-23-2020, 02:53 AM
Last Post: Larz60+
  history of Python's birth metulburr 6 3,268 Oct-21-2019, 03:22 PM
Last Post: rollman
  Pycharm - local file history j.crater 0 3,674 Jan-19-2018, 12:20 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020