JavaScript tutorial:
getVarDate Method

 

Applies to: Date Object

The getVarDate method is use to get the VT_DATE value in a Date object.

Syntax

dateobj.getVarDate( )

The dateobj argument is any Date object.

Return

Returns the VT_DATE value in a Date object.

Example

The getVarDate method is used when interacting with ActiveX objects or other objects that accept and return date values in VT_DATE format.

See also: getDate Method, parse Method