The Python Oracle

How can I account for period (AM/PM) using strftime?

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: Ocean Floor

--

Chapters
00:00 Question
00:33 Accepted answer (Score 295)
00:59 Answer 2 (Score 85)
01:23 Answer 3 (Score 32)
01:39 Answer 4 (Score 19)
01:56 Thank you

--

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

Accepted answer links:
[time.strftime]: https://docs.python.org/2/library/time.h...

--

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

--

Tags
#python #datetime #strptime

#avk47