Holiday Test | JavaScriptSource

Holiday Test

James Livingood Dec 20, 2007

This script tests to see if it is a certain holiday. If it isn't then it tests the current hour and gives the appropreiate 'good morning','good afternoon', or 'good evening' response. The big major cool thing about this script, is that it can determine Easter every year, even though Easter is based upon lunar cycles.

Leave a Response