Parse ISO datetime
Section: JSON, datetime, and UUID
Parse ISO datetime
python
python
from datetime import datetime
dt = datetime.fromisoformat("2026-03-07T12:30:00+00:00")Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing JSON, datetime, and UUID