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

Clib.mktime() Method


This method converts a Time object to the time format returned by Clib.time().

Syntax

Clib.mktime(Time)

Parameter
Description
Time
A Time object

Returns

An integer representation of the value stored in Time, or -1 if Time cannot be converted or represented.

Usage

Undefined elements of Time are set to 0 before the conversion. This function is the inverse of Clib.localtime(), which converts from a time integer to a Time object. For details on the Time object, read The Time Object.

See Also

Clib.asctime() Method, Clib.ctime() Method, Clib.gmtime() Method, Clib.localtime() Method, GetDate() Method, getTime() Method, and getUTCDate() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003