Home > @i2analyze/notebook-sdk > app > IValueFactory > createLocalTime
app.IValueFactory.createLocalTime() method
Creates a local time object (that does not have a date or a time zone) from a JavaScript Date
object.
Signature:
createLocalTime(jsDate: Date): data.ILocalTime;
Introduced: version 1.1
Parameters
Parameter | Type | Description |
---|---|---|
jsDate | Date | A JavaScript Date , from which the 'local' (not UTC) time values are used. |
Returns:
The new local time object.