Reputation: 1290
I am using python module to get the utctime
datetime.datetime.utcnow()
but in IST timezone, it is giving the value as
datetime.datetime(2015, 1, 20, 17, 24, 37, 674000)
and in EST timezone, getting
datetime.datetime(2015, 1, 20, 14, 24, 54, 865419)
I think value needs to be same just like GMT time, but why is the difference?
I found that in linux system,when I run date command, PST time is shown but with EST
Tue Jan 20 09:35:55 EST 2015
09:35 is the current PST time, but why it is giving EST?
Upvotes: 2
Views: 291
Reputation: 3346
The computer in the EST time zone has the wrong system time.
That's it.
If it's showing "EST" but giving PST-consistent time, the system clock is wrong.
Upvotes: 1