Displaying future times

ryan k ryan at ryankaskel.com
Wed Oct 17 08:20:06 EDT 2007


I have a schedule of times in the future that I want to display in a
timezone the user sets. There is a useful module
http://www.purecode.com/~tsatter/python/README.txt (at that URL) with
a function that takes seconds from the epoch and a time zone and
returns what is basically a datetime object.

My question is how to I display the seconds from the epoch for a
datetime object (which will be a datetime in the future) for the UTC
timezone?




More information about the Python-list mailing list