Home > @i2analyze/i2connect > data > createLocalTime
data.createLocalTime() function
Creates a local time object (that does not have a date or a time zone) from a JavaScript Date
object.
Signature:
function createLocalTime(jsDate: Date): ILocalTime;
Introduced: API version 2.0
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.