Share via


getVarDate Method (JScript 5.6) 

Returns the VT_DATE value in a Date object.


dateObj.getVarDate() 

Remarks

The required dateObj reference is a Date object.

The getVarDate method is used when interacting with COM objects, ActiveX® objects or other objects that accept and return date values in VT_DATE format, such as Visual Basic and VBScript. The actual format is dependent on regional settings and should not be replied upon within JScript.

Requirements

Version 3

Applies To: Date Object (JScript 5.6)

See Also

Reference

getDate Method (JScript 5.6)
parse Method (JScript 5.6)