Library API
    Preparing search index...

    Function solarOffset

    • Calculates the Natural Solar Time Offset between civil clock time and actual solar time. Based on longitude (approx 4 minutes per 1° offset from standard timezone meridian).

      Parameters

      • coords: any

        Coordinate input, object, tuple, or instance exposing .geo

      • Optionaloptions: SolarOffsetOptions

        Configuration options for units, precision, apparent time, timezone, and date

      Returns number

      Solar offset in requested unit (default: minutes, rounded to 2 decimal places), or NaN if invalid