Skip to content

Instantly share code, notes, and snippets.

@olopsman
Created June 21, 2020 09:44
Show Gist options
  • Save olopsman/0eb48efd43f5c107f92b54c165fb5f7d to your computer and use it in GitHub Desktop.
Save olopsman/0eb48efd43f5c107f92b54c165fb5f7d to your computer and use it in GitHub Desktop.
new Date().toISOString().slice(0, 10); // output 2020-06-22 eg.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment