How to preserve timezone when parsing date/time strings with strptime()?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping
--
Chapters
00:00 Question
01:06 Accepted answer (Score 92)
02:47 Answer 2 (Score 437)
03:25 Answer 3 (Score 86)
03:46 Answer 4 (Score 12)
04:27 Thank you
--
Full question
https://stackoverflow.com/questions/3305...
Question links:
[this page]: http://www.enricozini.org/2009/debian/us.../
[here]: http://docs.python.org/library/datetime....
Accepted answer links:
[datetime]: http://docs.python.org/library/datetime....
Answer 2 links:
[python-dateutil]: http://labix.org/python-dateutil
Answer 4 links:
[rfc 2822 (date format in email, http headers)]: https://www.rfc-editor.org/rfc/rfc2822.h...
[parsing date with timezone from an email]: https://stackoverflow.com/a/23117071/427...
[EST]: https://www.rfc-editor.org/rfc/rfc2822.h...
[a timezone abbreviation is not enough, to identify a timezone uniquely]: https://stackoverflow.com/q/1703546/4279
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #datetime #timezone
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping
--
Chapters
00:00 Question
01:06 Accepted answer (Score 92)
02:47 Answer 2 (Score 437)
03:25 Answer 3 (Score 86)
03:46 Answer 4 (Score 12)
04:27 Thank you
--
Full question
https://stackoverflow.com/questions/3305...
Question links:
[this page]: http://www.enricozini.org/2009/debian/us.../
[here]: http://docs.python.org/library/datetime....
Accepted answer links:
[datetime]: http://docs.python.org/library/datetime....
Answer 2 links:
[python-dateutil]: http://labix.org/python-dateutil
Answer 4 links:
[rfc 2822 (date format in email, http headers)]: https://www.rfc-editor.org/rfc/rfc2822.h...
[parsing date with timezone from an email]: https://stackoverflow.com/a/23117071/427...
[EST]: https://www.rfc-editor.org/rfc/rfc2822.h...
[a timezone abbreviation is not enough, to identify a timezone uniquely]: https://stackoverflow.com/q/1703546/4279
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #datetime #timezone
#avk47