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.