This documentation is archived and is not being maintained.

getVarDate Method

Returns the VT_DATE value in a Date object.

function getVarDate(): System.DateTime

Remarks

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 relied upon within JScript.

Requirements

Version 3

See Also

getDate Method | parse Method

Applies To: Date Object

Show: