@blinkk/degu
    Preparing search index...

    Function createLocalTimeZoneDate

    • Create a local timezone date string. This is mainly here to normalize browser differences. Safari creates a new date in utc whereas other browsers create the date based on the users timezone.

      const myDate = time.createLocalTimeZoneDate('2021-06-20T03:45:00'); const myDate2 = time.createLocalTimeZoneDate('2021-06-20 03:45:00');


      The localTimeDate would be the localtime on the users computer.


      Parameters

      • localTimeDate: string

      Returns Date