Partager via


Date Type Extensions

Provides extensions to the base ECMAScript (JavaScript) Date object.

Namespace: None. This type extension is global and not part of a namespace.

Inherits: None

var a = new Date();

Member Extensions

Name

Description

Date.format Function

Formats a date by using the invariant (culture-independent) culture.

Date.localeFormat Function

Creates a date from a locale-specific string using the current culture.

Date.parseLocale Function

Creates a date from a locale-specific string using the current culture.

Date.parseInvariant Function

Creates a date from a string using the invariant culture.

Remarks

Date extensions are part of the Microsoft Ajax Library and add functionality to the JavaScript Date object.

For more information about the JavaScript object that this type extends and about its constructor, see JScript Date Object in the Language Reference

See Also

Reference

new Operator

Date Type Functions

Other Resources

Language Reference