Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >
Clib.ctime() Method
This method returns a date-time value.
Syntax
Clib.ctime(timeInt)
Returns
A string representing date-time value, adjusted for the local time zone.
Usage
This method returns a string representing a date-time value, adjusted for the local time zone. It is equivalent to:
Clib.asctime(Clib.localtime(
timeInt
));
where timeInt is a date-time value as returned by the Clib.time() function.
Example
The following line of code returns the current date and time as a string of the form Day Mon dd hh:mm:ss yyyy:
TheApplication().RaiseErrorText(Clib.ctime(Clib.time()));
See Also
Clib.asctime() Method, Clib.gmtime() Method, Clib.localtime() Method, Clib.time() Method, and toLocaleString() Method and toString() Method
Bookshelf Home | Contents | Index | Search | PDF |
Siebel eScript Language Reference Published: 18 April 2003 |