Siebel eScript Language Reference > C Language Library Reference > Clib Date and Time Methods >

Clib Convert Integer to Local Time Method


The Clib Convert Integer to Local Time method returns the value of the timeInt argument as a time object. It is recommended that you use this method only if you cannot use the equivalent standard JavaScript method. Note the following code:

var now = Clib.asctime(Clib.localtime(Clib.time()));

This code is exactly equivalent to the following standard JavaScript code:

var aDate = new Date;

var now = aDate.toLocaleString()

Format

Clib.localtime(timeInt)

This method uses the same arguments as the Clib Get Date and Time method. For more information, see Table 178.

Related Topics

For more information, see the following topics:

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