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 hour/minute/second information.

    Signature:

    function createLocalTime(hour: number, minute: number, second: number, milli?: number): ILocalTime;
    

    Introduced: API version 2.0

    Parameters

    Parameter Type Description
    hour number The hour of the day (0-23).
    minute number The minutes of the hour (0-59).
    second number The seconds of the minute (0-59).
    milli number (Optional) The milliseconds of the second (0-999).

    Returns:

    ILocalTime

    The new local time object.

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