Siebel eScript Language Reference > Siebel eScript Commands > Date and Time Methods >

Date.toSystem() Method


This method converts a Date object to a system time format that is the same as that returned by the Clib.time() method.

Syntax

Date.toSystem()

Parameter
Description

Not applicable

 

Returns

A date value in the time format returned by the Clib.time() method.

Usage

To create a Date object from a variable in system time format, read getDay() Method.

Example

To convert a Date object to a system format that can be used by the methods of the Clib object, use code similar to:

var SysDate = objDate.toSystem();

See Also

getDay() Method

Siebel eScript Language Reference