Skip to content

Instantly share code, notes, and snippets.

@rashid327
Created February 14, 2020 10:41
Show Gist options
  • Save rashid327/c0f498a2866af5d6c3f04ddfe0595bfa to your computer and use it in GitHub Desktop.
Save rashid327/c0f498a2866af5d6c3f04ddfe0595bfa to your computer and use it in GitHub Desktop.
add 24 hours to date
new Date(new Date(myStringDate).getTime() + 60 * 60 * 24 * 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment