The Python Oracle

Does datetime.fromtimestamp(os.path.getctime()) in Python give me a timezone-aware value?

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

--

Chapters
00:00 Question
01:10 Accepted answer (Score 2)
01:49 Answer 2 (Score 1)
02:20 Thank you

--

Full question
https://stackoverflow.com/questions/3071...

Question links:
[the definition of that term in the datetime documentation]: https://docs.python.org/3.4/library/date...

Accepted answer links:
[pytz]: https://pypi.python.org/pypi/pytz/

Answer 2 links:
[code example]: https://stackoverflow.com/a/30731530/427...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #unix #datetime #timezone #epoch

#avk47