Skip to content

Instantly share code, notes, and snippets.

@CaptainYarb
Created July 21, 2016 05:06
Show Gist options
  • Save CaptainYarb/054a01970a1336dadce98951b99420ba to your computer and use it in GitHub Desktop.
Save CaptainYarb/054a01970a1336dadce98951b99420ba to your computer and use it in GitHub Desktop.
Setting Dates in Javascript - Test 3
new Date(dates[i].slice(0, 4), dates[i].slice(5, 7), dates[i].slice(8, 10), dates[i].slice(11, 13), dates[i].slice(14, 16), dates[i].slice(17, 19));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment