Have a date string and want to find the format string needed to parse it?
Read more 👉 https://trey.io/l4b84k
Have a date string and want to find the format string needed to parse it?
Read more 👉 https://trey.io/l4b84k
@treyhunner as I believe I mentioned the last time you posted this, the best strategy is to use Python 3.11+ and standard ISO 8601 format strings. In that case, the ”fromisoformat()” methods will handle everything for you. 😊
https://docs.python.org/3/library/datetime.html#datetime.datetime.fromisoformat