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 year/month/day information.
Signature:
createLocalDate(year: number, month: number, day: number): data.ILocalDate;
Introduced: version 1.1
Parameters
| Parameter | Type | Description |
|---|---|---|
| year | number | The full year of the date; for example, 1973. |
| month | number | The (1-based) month of the year (1-12). |
| day | number | The (1-based) day of the month (1-31). |
Returns:
The new local date object.