Home > @i2analyze/i2connect > data > ILocalDate > toJSDate
data.ILocalDate.toJSDate() method
Gets the date as a JavaScript Date
object.
Signature:
toJSDate(): Date;
Returns:
Date
The date, as a Date
.
Introduced: API version 2.0
Remarks
The time in the Date
object is set to midnight on the date in question, in the local time zone. This behavior is equivalent to the expression new Date(year, month, day)
in JavaScript.