Python Programming Learning Circle
Jun 11, 2020 · Fundamentals
Understanding and Avoiding Common Mistakes with Python datetime.strptime and strftime
The article explains why Python developers often swap the arguments of datetime.strptime, analyzes the naming and semantics of strptime and strftime, demonstrates correct usage with code examples, and discusses the source‑to‑destination pattern and related special cases such as regex and string methods.
DateTimeParsingPython
0 likes · 7 min read