Skip to content

Instantly share code, notes, and snippets.

@danilkuznetsov
Created February 10, 2018 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilkuznetsov/a719842f4e62671288bbf7aed9048777 to your computer and use it in GitHub Desktop.
Save danilkuznetsov/a719842f4e62671288bbf7aed9048777 to your computer and use it in GitHub Desktop.
Get current date in JS
new Date().toISOString().slice(0,10);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment