Convert Date to Integer Method

The Convert Date to Integer method converts a date object to a system time format that is in the same format as the format that the Clib Convert Time to Integer method returns. To create a date object from a variable in system time format, see Get Day of Week Method.

Format

Date.toSystem()

The following example converts a date object to a system format that methods of the Clib object can use:

var Sys Date = obj Date.toSystem();