Send Close Add comments: (status displays here)
Got it!  This site "robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
Python: Dates and time
by RS  admin@robinsnyder.com : 1024 x 640


1. Python: Dates and time
Many programs require the use of dates and times.

Note: The actual output will change depending on when the underlying document was formatted or re-formatted (and the Python program generated and run).

2. Time zones
The earth is divided into many time zones with many variations within time zones, such as "Standard Time" and "Daylight Savings Time".

Since the intended applications for this discussion do not require handling times, time zone issues will be ignored.

3. Python program
Here is a Python program to show how to do basic dates and times. Here is the Python code [#1]

Here is the output of the Python code.


4. End of page

by RS  admin@robinsnyder.com : 1024 x 640