Home > @i2analyze/notebook-sdk > app > IValueFactory > createLocalDate
app.IValueFactory.createLocalDate() method
Creates a local date object (that does not have a time or a time zone) from a JavaScript Date
object.
Signature:
createLocalDate(jsDate: Date): data.ILocalDate;
Introduced: version 1.1
Parameters
Parameter | Type | Description |
---|---|---|
jsDate | Date | A JavaScript Date , from which the 'local' (not UTC) date values are used. |
Returns:
The new local date object.