i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > data > ILocalTime > toJSDate

    data.ILocalTime.toJSDate() method

    Gets the time as a JavaScript Date object.

    Signature:

    toJSDate(): Date;
    

    Returns:

    Date

    The time, as a Date.

    Introduced: version 1.0

    Remarks

    The date in the Date object is set to the start of the UNIX epoch: January 1st, 1970. This behavior is equivalent to the expression new Date(1970, 0, 1, hour, minute, second, milli) in JavaScript.

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