Returns the primitive value of a XTime object.
Method of XTime
Syntax
valueOf()
Parameters
None
Description
The valueOf method of XTime returns the primitive value of a XTime object as a number data type, the number equal to the amount of seconds in the XTime object (i.e. getHours() * 3600 + getMinutes() * 60 + getSeconds() ).
This method is usually called internally by MetaScript and not explicitly in code.