Skip to content

Instantly share code, notes, and snippets.

@isaobushi
Created August 12, 2019 23:27
Show Gist options
  • Save isaobushi/0ec3e2d67932848872095e5601d3c0ed to your computer and use it in GitHub Desktop.
Save isaobushi/0ec3e2d67932848872095e5601d3c0ed to your computer and use it in GitHub Desktop.
convert string to date #js #method
const dateString = '20/12/2019'
const convertedDate = date.toISOString(dateString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment