Source Code:
(back to article)
from datetime import datetime date_string = "2022-11-15T09:00:00" date_object = datetime.fromisoformat(date_string) print(date_object)
Result:
Report an issue