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

Convert Integer Date to JavaScript Date Method


The Convert Integer Date to JavaScript Date method converts a time from the format that the Clib Convert Time to Integer method returns to a standard JavaScript date object. To call the Convert Integer Date to JavaScript Date method, you use the date constructor rather than a variable.

Format

Date.fromSystem(time)

Table 63 describes the arguments for the Convert Integer Date to JavaScript Date method.

Table 63. Arguments for the Convert Integer Date to JavaScript Date Method
Argument
Description

time

A variable that holds a system date.

Example

The following example creates a date object from date information obtained through Clib:

var SysDate = Clib.time();
var ObjDate = Date.fromSystem(SysDate);

Related Topics

For more information, see the following topics:

Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.