Different times between Python and System

J

Josh

Hi,

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

user@computer:~$ date
Mon Apr 14 01:27:36 MDT 2008
user@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.datetime.datetime(2008, 4, 14, 1, 27, 50, 472350)

Thanks!
 
J

Josh

Hmm... That didn't work out so well that time. I feel like an
idiot. Previously there has been an hour difference between the
system time and the time that python reports.

Hi,

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

user@computer:~$ date
Mon Apr 14 01:27:36 MDT 2008
user@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(2008, 4, 14, 1, 27, 50, 472350)

Thanks!
 
T

Terry Reedy

| Hmm... That didn't work out so well that time. I feel like an
| idiot. Previously there has been an hour difference between the
| system time and the time that python reports.

That suggests a (temporary?) problem with standard vs. daylight time.
 
M

Mark

Hmm... That didn't work out so well that time. I feel like an idiot.
Previously there has been an hour difference between the system time and
the time that python reports.

Thanks for the laugh though Josh. That was funny! :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,250
Latest member
Charlesreero

Latest Threads

Top