Home > @i2analyze/i2connect > data > createLocalDateTime
data.createLocalDateTime() function
Creates a local date-time object, which does not have a time zone, from a JavaScript Date
object.
Signature:
function createLocalDateTime(jsDate: Date): ILocalDateTime;
Introduced: API version 2.0
Parameters
Parameter | Type | Description |
---|---|---|
jsDate | Date | A JavaScript Date , from which the 'local' (not UTC) date and time values are used. |
Returns:
The new local date-time object.