datetime question

Tim Chase python.list at
Tue Nov 12 16:54:44 CET 2013

On 2013-11-12 17:24, Ferrous Cranus wrote:
> But what of the server was in California and i live in Greece?
> How would work then?

Best practices say to move the value from local time to UTC as soon
as possible, then store/use the UTC time internally for all
operations.  Only when it's about to be presented to the user should
you convert it back to local time if you need to.


More information about the Python-list mailing list