parse_iso8601
Parse and convert ISO-8601 string to datetime.
def parse_iso8601(
datestring: string
) - > datetime
Parse and convert ISO-8601 string to datetime.
Parameters
| Name | Type | Description |
|---|---|---|
| datestring | string | The ISO-8601 formatted string to be converted into a datetime object. |
Returns
| Type | Description |
|---|---|
datetime | A datetime object representing the parsed timestamp, including timezone offset if provided in the input string. |