Siebel eScript Language Reference > Methods Reference > Date and Time Methods >
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.
The following example converts a date object to a system format that methods of the Clib object can use:
var SysDate = objDate.toSystem();