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 hour/minute/second information.
Signature:
createLocalTime(hour: number, minute: number, second: number, milli?: number): data.ILocalTime;
Introduced: version 1.1
Parameters
Parameter | Type | Description |
---|---|---|
hour | number | The hour of the day (0-23). |
minute | number | The minutes of the hour (0-59). |
second | number | The seconds of the minute (0-59). |
milli | number | (Optional) The milliseconds of the second (0-999). |
Returns:
The new local time object.