Home > @i2analyze/notebook-sdk > 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: version 1.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.