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