Converts the specified Date object to an XDate object.
Core function
Syntax
DateToXDate( dateobject )
Parameter
Parameter | Description |
---|---|
dateobj | A Date object |
Description
DateToXDate is a top-level function and is not associated with any object.
Use DateToXDate to convert Date objects to the XDate objects used by Virtual Ticket and Job Manager.
Example
The following example converts a Date object to an XDate object: