zeed
    Preparing search index...

    Function datetimeToLocal

    • If you parsed a date string that didn't include a time zone, adjust the naive UTC components into a local Date with the same Y/M/D/H/M/S values.

      This effectively treats the input as if it already represented local time and builds a corresponding Date using the local timezone.

      Parameters

      • fromDate: Date

      Returns Date