How do I turn a python datetime into a string, with readable format date?

Опубликовано: 12 Март 2023
на канале: The Python Oracle
8
0

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: Switch On Looping

--

Chapters
00:00 Question
00:23 Accepted answer (Score 287)
00:49 Answer 2 (Score 122)
01:48 Answer 3 (Score 71)
02:03 Answer 4 (Score 32)
02:40 Thank you

--

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

Accepted answer links:
[strftime() Behavior]: https://docs.python.org/2/library/dat...
[strftime() Behavior]: https://docs.python.org/3/library/dat...

Answer 2 links:
[strftime]: https://docs.python.org/3/library/dat...

Answer 4 links:
[f-strings]: https://www.python.org/dev/peps/pep-0...
[strftime()]: https://docs.python.org/3/library/dat...

--

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

--

Tags
#python #datetime #stringformatting

#avk47