Date functions are those that allow the user to work with dates and times. These functions include the ability to format a date, determine if a particular year is a leap year, and return a textual version of the date (e.g., Sunday or Tuesday) or month (e.g., April or October).

Use

<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../JS_Vision_Globals.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../JS_Vision_Character.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../JS_Vision_String.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../JS_Vision_Numeric.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../JS_Vision_DateTime.js"></SCRIPT>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../JS_Vision_Calendar.js"></SCRIPT>

Remarks

The JSV_calendar function is located in the JS_Vision_Calendar.js file and not the JS_Vision_DateTime.js file. This function is kept separate since it is a less used function.

For more information on the SRC attribute of the SCRIPT tag, see JavaScript Vision Frequently Asked Questions.

References

JavaScript Date Object Techniques

Scripting for the Year 2000

Scripting for the Year 2000: the getYear() method