2.4.6.2 Date.prototype.getVarDate ( )

The getVarDate method is implemented as follows:

1. Let t be the time value.

2. It t is NaN, return a date value in VT_DATE format for which the value of ToNumber is NaN.

3. Otherwise, return a date value in VT_DATE format that corresponds to the time value t.

Show: