timedotgo
    Preparing search index...

    Function ParseInLocation

    • ParseInLocation is like Parse but in the absence of time zone information, Parse interprets a time as UTC and ParseInLocation interprets the time as in the given location. Unlike go, no attempt is made to match an abbreviation inside the given timezone. Location should be a valid IANA timezone identifier.

      Parameters

      • layout: string
      • value: string
      • location: string

      Returns Time