i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > app > IValueFactory > createLocalDateTime

    app.IValueFactory.createLocalDateTime() method

    Creates a local date-time object (that does not have a time zone) from an ISO 8601 string ('yyyy-mm-ddThh:mm:ss' or 'yyyy-mm-ddThh:mm:ss.sss').

    Signature:

    createLocalDateTime(iso8601: string): data.ILocalDateTime;
    

    Introduced: version 1.1

    Parameters

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

    Returns:

    data.ILocalDateTime

    The new local date-time object.

    Exceptions

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

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