Returns the primitive value of a XDate object.
Method of XDate
Syntax
valueOf()
Parameters
None
Description
The valueOf method of XDate returns the primitive value of a XDate object as a number data type, the number of days since the minimal date, XDate( 1, 0 ,1).
This method is usually called internally by MetaScript and not explicitly in code.