getVarDate Method (Windows Scripting - JScript)
Returns a VT_DATE value from a Date object.
Syntax
dateObj.getVarDate()
Remarks
The required dateObj reference is a Date object.
The getVarDate method is used when code interacts with COM objects, ActiveX objects, or other objects that accept and return date values in VT_DATE format. These include objects in Visual Basic and Visual Basic Scripting Edition (VBScript). The actual format of the returned value depends on regional settings.
Requirements
Applies To: Date Object (Windows Scripting - JScript)
See Also
getDate Method (Windows Scripting - JScript)
Date.parse Method (Windows Scripting - JScript)