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 Clib Get Date and Time Method.
Related Topics
For more information, see the following topics: