Technology will make your life easier

If you have Emacs installed (or fancy installing it):

M-x sunrise-sunset tells me:

Sunrise 5:46am (NZDT), sunset 8:30pm (NZDT) at 41.3S, 174.9E (14:44 hrs daylight)

You need to have customized the calendar-latitude and calendar-longitude options to at least vaguely nearby values. Or GitHub - emacsmirror/geo: Generic geolocation backend for GNU Emacs can automate that (I’ve not tried it).

The brand new casual-calendar package is also a lovely way to drive the Emacs calendar and related features (I had a play with it this morning).

And with %%(diary-sunrise-sunset) included in my diary file, the same info also appears automatically in my daily diary/org-agenda :).

Tuesday 26 November 2024
Diary: 5:46 Sunrise (NZDT), sunset 8:30pm (NZDT) at 41.3S, 174.9E (14:44 hrs daylight)

And M-x lunar-phases / %%(diary-lunar-phases) does similarly for days with significant moon phase changes.

All related to that book I mentioned a few days ago (the book was a by-product of the authors having adding these kinds of features to Emacs, 30 years ago!).

4 Likes