Create Python DateTime UTC ISO-Format Strings

# Works for >= Python 3.11
from datetime import datetime, UTC

datetime.now(tz=UTC).isoformat()
# > '2024-11-13T08:06:11.736487+00:00'

# Use it in JavaScript: new Date('2024-11-13T08:06:11.736487+00:00')