IFClite TypeScript API
    Preparing search index...

    Function sunTimes

    • Compute sunrise/sunset/solar-noon for the UTC calendar day containing date, at the given site.

      Parameters

      • date: Date

        Any instant within the desired UTC day.

      • latitude: number

        Site latitude in degrees (north positive).

      • longitude: number

        Site longitude in degrees (east positive).

      Returns SunTimes