Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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();

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.

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

Show:
© 2015 Microsoft