Events > Events
31 10 Halloween
(1/1)
Prometheus:
Halloween has roots in the Celtic festival ofSamhain,
Halloween is on 31st of October, Samhain is on 1st of November.
var futuredate=new cdtime("countdowncontainer", "October 31, 2012 0:00:01")
futuredate.displaycountdown("days", formatresults)
var currentyear=new Date().getFullYear()
//dynamically get this Christmas' year value. If Christmas already passed, then year=current year+1
var thischristmasyear=(new Date().getMonth()>=11 && new Date().getDate()>25)? currentyear+1 : currentyear
var christmas=new cdtime("countdowncontainer2", "December 21, "+thischristmasyear+" 11:13:00")
christmas.displaycountdown("days", formatresults2)
Navigation
[0] Message Index
Go to full version