Skip to content

Instantly share code, notes, and snippets.

@linyows
Created September 3, 2012 09:21
Show Gist options
  • Save linyows/3608071 to your computer and use it in GitHub Desktop.
Save linyows/3608071 to your computer and use it in GitHub Desktop.
var startDate = new Date(2012, 8-1, 31);
var endDate = new Date(2012, 8-1, 31);
if (startDate.getTime() <= nowDate.getTime() && nowDate.getTime() < endDate.getTime()) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment