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

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.div() Method and Clib.ldiv() Method
Clib.gmtime() Method
Clib.localtime() Method
getDate() Method
getTime() Method
getUTCDate() Method

Siebel eScript Language Reference