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 an ISO 8601 string ('yyyy-mm-dd').

    Signature:

    function createLocalDate(iso8601: ISO8601Date): ILocalDate;
    

    Introduced: API version 2.0

    Parameters

    Parameter Type Description
    iso8601 ISO8601Date An ISO 8601-formatted string that represents the date.

    Returns:

    ILocalDate

    The new local date object.

    Exceptions

    Error if the string was not in valid ISO 8601 format.

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