Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Time Methods >
Clib.ctime() Method
This method returns a date-time value. Syntax
Clib.ctime(timeInt)
|
|
timeInt |
A date-time value as returned by the Clib.time() function |
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.tmpnam() Method toLocaleString() Method and toString() Method
|