@douglasneuroinformatics/libjs
    Preparing search index...

    Function toLocalISOString

    • Converts a given Date object to an ISO 8601 string that represents the local time.

      The function adjusts the input date by accounting for the local timezone offset so the resulting ISO string reflects the local time rather than UTC.

      Parameters

      • date: Date

        The Date object to be converted.

      Returns string

      An ISO 8601 formatted string representing the local time.