Daylight Calendar ICS

This is a dynamically generated .ics calendar that you can host and subscribe to in Google Calendar, iCal, or other calendar software.

Not only will it provide an event each day with the appropriate sunrise and sunset time, it will show the length of the day in hours/minutes as well as in a percent (of 24 hours) and the solar noon for that day. It will also give a percentile compared to the shortest and longest days of the year!

Options

  • Find your geo coordinates

  • Find your GMT offset

  • Determine which zenith setting you prefer

    • Default: 90.83

    • Civil Twilight: 96

      • Conventionally used to signify twilight
    • Nautical Twilight: 102

      • The point at which the horizon stops being visible at sea
    • Astronomical Twilight: 108

      • The point when Sun stops being a source of any illumination

      Instructions

  • Upload daylight.php to your server (or skip this step and use the one hosted on gearside.com)

  • Point your calendar to the file and use query parameters for the options above.

    • Latitude: lat
    • Longitude: lng
    • GMT: gmt
    • Zenith: z
    • Year: year

Use ?debug to directly view the calendar file in a browser with events more easily readable. Be sure not to use ?debug when subscribing to your calendar as it does not declare itself as an .ics file with that parameter present.

Examples

Basic

https://gearside.com/calendars/daylight.php?lat=43.1234&lng=-76.1234&gmt=-5

Advanced

https://gearside.com/calendars/daylight.php?lat=43.1234&lng=-76.1234&gmt=-5&z=108

Notes

Calendar software caches remote .ics files (like this one), so when replacing it you can "bust" the cache by adding another query parameter of random characters such as &sdfgsfd.

Daylight Calendar Ics

Daylight Calendar is a dynamically generated .ics calendar that you can host and subscribe to in Google Calendar, iCal, or other calendar software.

Daylight Calendar Ics Info

⭐ Stars21
🔗 Homepagegearside.com
🔗 Source Codegithub.com
🕒 Last Updatea year ago
🕒 Created5 years ago
🐞 Open Issues1
➗ Star-Issue Ratio21
😎 Authorchrisblakley