Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Date Object >
Date.toSystem() Method
This method converts a Date object to a system time format that is the same as that returned by the Clib.time() method.
Syntax
Date.toSystem()
Returns
A date value in the time format returned by the Clib.time() method.
Usage
To create a Date object from a variable in system time format, read Date.fromSystem() Static Method.
Example
To convert a Date object to a system format that can be used by the methods of the Clib object, use code similar to:
var SysDate = objDate.toSystem();
See Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |