Home > @i2analyze/i2connect > data > createLocalDate
data.createLocalDate() function
Creates a local date object (that does not have a time or a time zone) from year/month/day information.
Signature:
function createLocalDate(year: number, month: number, day: number): ILocalDate;
Introduced: API version 2.0
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.