Home > @i2analyze/notebook-sdk > app > IValueFactory > createLocalDateTime
app.IValueFactory.createLocalDateTime() method
Creates a local date-time object (that does not have a time zone) from a JavaScript Date
object.
Signature:
createLocalDateTime(jsDate: Date): data.ILocalDateTime;
Introduced: version 1.1
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.