Skip to content

Instantly share code, notes, and snippets.

@fireyy
Created July 31, 2013 05:48
Show Gist options
  • Save fireyy/6119621 to your computer and use it in GitHub Desktop.
Save fireyy/6119621 to your computer and use it in GitHub Desktop.
Untitled
<!-- content to be placed inside <body>…</body> -->
var st = new Date();
var ddate = (st.getHours() >= 10) ? 1 * 24 * 60 * 60 * 1000 : 0;
eventDate = new Date(st.getFullYear()+"/"+(st.getMonth()+1)+"/"+(st.getDate())+" 10:00:00").getTime()+ddate;
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"javascript"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment