Skip to content

Instantly share code, notes, and snippets.

@zealfire
Created February 7, 2017 10:33
Show Gist options
  • Save zealfire/39a795c0e6ed109f797ad92a1cdfc0d6 to your computer and use it in GitHub Desktop.
Save zealfire/39a795c0e6ed109f797ad92a1cdfc0d6 to your computer and use it in GitHub Desktop.
To construct a date from UTC time, call “new Date(Date.UTC(year, month, day, hours, minutes, seconds))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment