Home > @i2analyze/i2connect > data > ILocalTime
data.ILocalTime interface
A time without an accompanying date or time zone.
Signature:
interface ILocalTime
Introduced: API version 2.0
Properties
| Property | Type | Description |
|---|---|---|
| hour | number | Gets the hour as an integer from 0 to 23. |
| milli | number | Gets the milliseconds of the second as an integer from 0 to 999. |
| minute | number | Gets the minutes of the hour as an integer from 0 to 59. |
| second | number | Gets the seconds of the minute as an integer from 0 to 59. |
Methods
| Method | Description |
|---|---|
| toISOString() | Gets the time in ISO 8601 format. |
| toJSDate() | Gets the time as a JavaScript Date object. |