Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Get the UTC offset in hours for a specific datetime.

      Useful for handling historical dates or potential daylight savings transitions in modern calendar contexts.

      Parameters

      • dt: DateTime

        Modern DateTime object

      • locationName: string

        Name of the geographic location

      Returns number

      Precise offset in hours