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