Skip to content

Instantly share code, notes, and snippets.

@thesabbir
Last active May 20, 2021 11:24
Show Gist options
  • Save thesabbir/0e980f4ac1d57dcc9d8015f17c760ae2 to your computer and use it in GitHub Desktop.
Save thesabbir/0e980f4ac1d57dcc9d8015f17c760ae2 to your computer and use it in GitHub Desktop.
Python to create Javascript date time (in utc iso)
from datetime import datetime
datetime.utcnow().isoformat()[:-3]+'Z'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment