SunTime

What if the sun always set at 8 p.m.?

About SunTime

A few years ago, in the dismal week that follows the end of Daylight Saving Time, I cast about for consolation, for answers, for solutions...anything that might ease the torturous gloom of the sun setting before I had even left work. It was in this (literally and figuratively) dark hour that a faint beacon of hope appeared in my mind: SunTime.

SunTime is a new method of setting clocks: by adjusting the time while we sleep so that each day, at your exact location, the sun sets at 8:00 p.m.

Are there downsides? Sure. SunTime is not for the faint of heart; it's probably not even for me, because I have friends and a social life. Here is what adopting SunTime here in Ventura, CA might look like on December 11, 2024 (a Wednesday):

Ventura SunTime Pacific Standard Time Activities / Notes
7:00 a.m. 3:50 a.m. Wake up, eat breakfast, drive to work in zero traffic
10:23 a.m. 7:13 a.m. Watch the sunrise. Nobody else is here yet
12:00 p.m. 8:50 a.m. Lunch
5:00 p.m. 1:50 p.m. Time to head out after a full day
6:30 p.m. 3:20 p.m. Dinner on a nice sunny patio
8:00 p.m. 4:50 p.m. Watch the sunset, remember why you follow SunTime
11:00 p.m. 7:50 p.m. A fairly late bedtime

The benefit, of course, is that you consistently have exactly 3 hours of sunset after punch-out, every single day, all year long. Is it doable? Maybe. Difficult? Certainly, at least without convincing your closest friends to join your sun-worshiping cult. I have had little success in this regard.

Social suicide aside, SunTime has other challenges. In its current form, SunTime is hyper-local, meaning it relies on your device's exact latitude and longitude to set your clock. Good luck coordinating Zoom meetings between two or more cities! It also only really works with connected devices. In these modern times, this issue is gradually being reduced in scope, but for the microwaves, cars, and analog watches that are not yet connected to the internet, you'll want to set those daily.

Are there solutions to these issues? Probably. You can put tape over your oven clock. And with some careful planning, I'd venture you could force the sun to set between 7:30 and 8:30 all year round for huge swaths of the human race while maintaining the convenience of time zones, which would be (in my opinion) pretty great. But in a country where we can't even pass legislation to make DST permanent, I probably won't trouble myself with the effort of creating and detailing such a plan.

In any case, creating an optimal solution for everyone was never the point. The point was to create a perfect solution for a single user that will almost certainly never be applied. A solution that is revolutionary, life-changing, and completely useless.

How It Works

For the html/css/js-literate, here is the source code. Go easy; this is the first web-based project I've actually "finished." First, the site grabs your device location. I borrowed a slew of NOAA formulas which the site uses to calculate apparent sunset from latitude, longitude, and date. I probably could have done this more easily with an API or two but it was fun to learn a little about how these calculations are actually done. The rest is fairly simple: the script determines the difference between 8:00 p.m. and sunset (what I call the "offset") and adds that value to the current time.