Different times between Python and System

Josh wheaties.box at gmail.com
Mon Apr 14 03:29:04 EDT 2008


Hi,

Anyone know why python would not show the same time that my system
shows?

user at computer:~$ date
Mon Apr 14 01:27:36 MDT 2008
user at computer:~$ python
Python 2.4.5 (#2, Mar 12 2008, 00:15:51)
[GCC 4.2.3 (Debian 4.2.3-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.now()
datetime.datetime(2008, 4, 14, 1, 27, 50, 472350)

Thanks!



More information about the Python-list mailing list