i2 Connect SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/i2connect > data > createLocalTime

    data.createLocalTime() function

    Creates a local time object (that does not have a date or a time zone) from a JavaScript Date object.

    Signature:

    function createLocalTime(jsDate: Date): ILocalTime;
    

    Introduced: API version 2.0

    Parameters

    Parameter Type Description
    jsDate Date A JavaScript Date, from which the 'local' (not UTC) time values are used.

    Returns:

    ILocalTime

    The new local time object.

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