I have tried this but its not correct:
In [34]: e_now
Out[34]: datetime.datetime(2010, 2, 17, 0, 2, 40, 506444, tzinfo=<DstTzInfo 'US/Eastern' EST-1 day, 19:00:00 STD>)
In [35]: e_now.utcoffset()
Out[35]: datetime.timedelta(-1, 68400)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The tzinfo is identified as
EST-1 day, 19:00:00— and the timedelta is given as -1 day, 68400 seconds (i.e., 19 hours, just as in the tzinfo identification). All timezones east of the London-Paris meridian will have -1 day and a positive number of seconds: for example, when it’s a second past midnight in London (UTC), it’s 1 second past 7pm (that is, 19:00) of the previous calendar day in New York. Why do you think that’s a problem?