Home > Call Me a Geek, Flying > Sunrise & Sunset in iCal

Sunrise & Sunset in iCal

January 2nd, 2007 by Maria Langer

Must-have data — at least for me.

It may sound strange to folks who live in the world of alarm clocks and wrist watches, but my life’s calendar is managed by the sun. I wake early — before sunrise this time of year — and I sometimes can’t do things until after the sun has come up. As a pilot, I also need to know when the sun will rise and set so I can schedule sunrise and sunset flights, night flights, and photo flights, all of which depend on the sun for timing.

Each year, I export the daily sunrise and sunset information from Time Palette, a shareware application that provides various almanac information, into a FileMaker Pro database I created, which turns the exported data into real dates and times. I then export the Sunrise and Sunset info as separate FileMaker Pro files. I import those into iCal Filter, which enables me to export them back out as iCal .ics files. I open those file to import the information into iCal, thus displaying sunrise and sunset times on my iCal calendar.

Although it seems like a lot of work, I only do it once a year and then I’m set for the entire year.

I just ran through this exercise for 2007. You can download the resulting Sunrise.ics and Sunset.ics files and import them into your iCal calendar. Of course the sunrise and sunset times are customized for Wickenburg, AZ (not far from Phoenix), so if you live more than 100 miles away, the times will be off by more than a few minutes.

If you’re interested in the .ics files for your location, I could probably be charmed into whipping up the files for you in exchange for one of the items on my Amazon.com wish list. (I really like surprises.) I might even throw in the moonrise/moonset times; I’m working on adding them, too.

Call Me a Geek, Flying ,

Did you enjoy this post? If so, please comment on it or share a little link love:
Add to Del.icio.us Add to Del.icio.us    Technorati This Technorati This    Digg This Digg This    Stumble It Stumble it!    Twit This Tweet This

  1. January 2nd, 2007 at 11:59 | #1

    Unfortunately it doesn’t create iCal files, but the http://timeanddate.com/ website is very interesting and useful. It provides a heap of information related to dates and times, customisable in many ways.

    Here’s the info for Phoenix, for example: http://timeanddate.com/worldclock/city.html?n=197

    It’s worth exploring.

  2. January 2nd, 2007 at 12:13 | #2

    There are actually quite a few Web sites with that info. For example, the U.S. Naval Observatory has one, too: http://aa.usno.navy.mil/data/docs/RS_OneDay.html

    TimePalette is the program I use to get the data. It’s incredibly detailed, with all kinds of time-related information for specific places on earth. It really came in handy when a photographer wanted sunrise and sunset photo flights over Lake Powell, which is quite a distance from here. It has a huge built-in database, but you can also enter lat/lon info to create your own locations. My Sunrise/Sunset info is for Wickenburg Airport, which is about 3 miles from my house. But if I wanted to get really geeky about it, I could enter the exact lat/lon for my house and have it calculate the information for that location.

    I like having the data in iCal where each sunrise and sunset is an actual event. No need to access the Internet and it’s right in my calendar program, which is usually open when I make appointments for flying. Because I use .Mac to synchronize iCal on all my Macs, the info’s available on all my computers.

  3. October 19th, 2007 at 15:11 | #3

    Thanks for the cool info! Just what I was looking for.

  4. March 27th, 2008 at 11:38 | #4

    This is what I was looking for!! Thank you! Do you have it for 2008/2009?

  5. March 27th, 2008 at 15:55 | #5

    I have it for 2008 in Wickenburg, AZ.

  6. Victor
    June 22nd, 2008 at 08:12 | #6

    Would you be willing to create an 2008 iCal file for Sag Harbor, NY? We seem to have similar interests in books and I’d be happy to purchase one on your behalf. Thanks.

  7. Fred
    August 16th, 2008 at 21:49 | #7

    Maria Langer,

    What process do you use to import the almanac data into iCal?

    Thanks.

  8. Jake
    January 27th, 2009 at 15:58 | #8

    This is exactly what i was looking for. Any news on ‘09 ical?

  9. Robbie Boyhan
    March 10th, 2009 at 17:21 | #9

    Don’t know if this would be helpful to you or not, but they do have a widget for sunrise and sunset times located here:

    http://www.apple.com/downloads/dashboard/calculate_convert/sunset_widgetop.html

  10. Leah
    March 30th, 2009 at 13:06 | #11

    Hi Maria,

    I have been looking everywhere for a sunrise/sunset calendar in ical for the year of 2009. I need it for Shawano, WI. Is there anyway that you could please make me one or tell me how to make one. I want to import it to my google calendar and I just can’t find anything that will do that. Can you please help!
    Thank you much appreciated.

    • March 31st, 2009 at 05:09 | #12

      I’ll put it on my list of things to do, but no guarantees. I’m really swamped with work these days.

  11. Jake
    December 28th, 2009 at 11:19 | #13

    Hey Maria (and everyone else),

    Again, thank you for the calendar you made for me for 2009. I understand you are very busy right now, and not available to make calendars for me and/or everyone. I have found a program that all you have to do is input your decimal coordinates and time zone, and it will output an iCal including automatic adjustments for Daylight savings (so long as you live in the US. If you live outside the US, you can enter when your country starts and ends DST).

    Go to: http://www.kaleberg.com/pages/kaleberg-08-01.php and scroll down to the 1-08 entry (about 3/4 down the page)

    A barebones program that works very, very well. Enjoy!

  1. No trackbacks yet.
Comments are moderated. I encourage comments that further the discussion, but will not tolerate rudeness or spam. Differences of opinion are welcome, as long as they are presented in the spirit of friendly debate. For details, read the complete comment policy. Keep in mind that your comment may take several hours to appear.