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.

Format

Date.toSystem()

Example

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

var SysDate = objDate.toSystem();

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.