i2 Connect SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/i2connect > data > createLocalDateTime

    data.createLocalDateTime() function

    Creates a local date-time object, which does not have a time zone, from a JavaScript Date object.

    Signature:

    function createLocalDateTime(jsDate: Date): ILocalDateTime;
    

    Introduced: API version 2.0

    Parameters

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

    Returns:

    ILocalDateTime

    The new local date-time object.

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