i2 Connect SDK
Search results for

    Show/hide table of contents

    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:

    ILocalDate

    The new local date object.

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