Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Time Methods >
Clib.time() Method
This method returns an integer representation of the current time. Syntax
Clib.time([[var] timeInt])
|
|
timeInt |
A variable to hold the returned value, which must be declared if it has not already been declared |
Returns
An integer representation of the current time. Usage
The format of the time is not specifically defined except that it represents the current time, to the operating system's best approximation, and can be used in many other time-related functions. If timeInt is supplied, it is set to equal the returned value. Clib.time(timeInt) and timeInt = Clib.time() assign the current local time to timeInt .
Example
For examples, see Clib.div() Method and Clib.ldiv() Method, Clib.difftime() Method, Clib.gmtime() Method, Clib.localtime() Method, and Clib.strftime() Method. See Also
getDay() Method Date.toSystem() Method getDate() Method
|