JavaScript

Date Functions

Description

Alpha Anywhere extends the JavaScript Date object with several methods.

Discussion

The built-in JavaScript Library extends the standard JavaScript Date object to make it very easy to parse and display date values.

Methods

addTime Method

Adds a length of time (year, months, hours) to a date.

fromFormat Method

Parses a formatted date string and sets the value of the Date object.

toFormat Method

Generates a formatted string from a Date.