i2 Notebook SDK
Search results for

    Show/hide table of contents

    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.

    In this article
    Back to top © N. Harris Computer Corporation