Right click this window and select "view source" in order to copy the source for this script.
Case Statement Days Example
This is an example of the JavaScript CASE statement. In this demonstration, we use getDay() along with CASE to determine and display the day. View the source.