Skip to content

Instantly share code, notes, and snippets.

@maml
Created February 26, 2015 16:53
Show Gist options
  • Save maml/3e43886ab12710e02de0 to your computer and use it in GitHub Desktop.
Save maml/3e43886ab12710e02de0 to your computer and use it in GitHub Desktop.
var currentDate = new Date();
futureDate = new Date("March 17, 2015 21:00:00"); // page says launching from March 9th
var diff = futureDate.getTime() / 1000 - currentDate.getTime() / 1000;
jQuery('#basketballCountdownClock').FlipClock(diff, {
clockFace: 'DailyCounter',
countdown: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment