Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Date Type Extensions

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

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

Inherits: None

Syntax

var a = new Date();

Extension Functions

Name

Description

format Function

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

localeFormat Function

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

parseLocale Function

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

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 JScript Language Reference.