Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object >

Clib.time() Method


This method returns an integer representation of the current time.

Syntax

Clib.time([[var] timeInt])

Parameter
Description
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, read Clib.ctime() Method, Clib.difftime() Method, Clib.gmtime() Method, Clib.localtime() Method, and Clib.strftime() Method.

See Also

GetDate() Method, Date.fromSystem() Static Method, and Date.toSystem() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003