Skip to content

Instantly share code, notes, and snippets.

@lkptrzk
Created May 28, 2014 16:58
Show Gist options
  • Save lkptrzk/717310b6e1ed3ee7f7c7 to your computer and use it in GitHub Desktop.
Save lkptrzk/717310b6e1ed3ee7f7c7 to your computer and use it in GitHub Desktop.
one way to do it...
var thirtyDays = 1000 * 60 * 60 * 24 * 30;
var today = new Number(new Date());
new Date(today + thirtyDays);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment