Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Date Object >
Date.fromSystem() Static Method
This method converts a time in the format returned by the Clib.time() method to a standard JavaScript Date object.
Syntax
Date.fromSystem(time)
Returns
Not applicable
Usage
Date.fromSystem() is a static method, invoked using the Date constructor rather than a variable.
Example
To create a Date object from date information obtained using Clib, use code similar to:
var SysDate = Clib.time();
var ObjDate = Date.fromSystem(SysDate);See Also
The Time Object, Clib.time() Method, The Date Constructor, and Date.toSystem() Method
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |