Skip to content

Instantly share code, notes, and snippets.

@GluTbl
Created November 9, 2021 13:05
Show Gist options
  • Save GluTbl/1293d0167683a61a479e52dfa6f09f97 to your computer and use it in GitHub Desktop.
Save GluTbl/1293d0167683a61a479e52dfa6f09f97 to your computer and use it in GitHub Desktop.
[Date time "DDMMYY-HHMMSS" with UTC]
start_millis =int(datetime.strptime(start_time, "%d-%m-%Y-%H:%M:%S").replace(tzinfo=timezone.utc).timestamp() *1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment