Date.valueOf

Returns the primitive value of a Date object.

Method of Date

Syntax

valueOf()

Parameters

None

Description

The valueOf method of Date returns the primitive value of a Date object as a number data type, the number of milliseconds since midnight 01 January, 1970 UTC.
This method is usually called internally by MetaScript and not explicitly in code.

Examples

See also

Object.valueOf

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.