Top
Best
New

Posted by pera 10/27/2025

Avoid 2:00 and 3:00 am cron jobs (2013)(www.endpointdev.com)
341 points | 369 comments
HiPhish 10/27/2025|
DST was a mistake and it needs to die. It solves no problems and only creates them. And not even the type of problem that someone could profit from, just plain old complete waste of time for everyone problems.

Just stick to winter time (because that's the correct one) and adjust all working hours once and for all to be like summer time, for e.g. instead of business opening at 7AM and closing at 10PM they can open at 6AM and close a 9PM. There will be a period of adjustment, but we have a period of adjustment twice a year already, so nothing is lost.

Why match working hours to summer time? Because I want to have more sunlight by the time I'm done with work. Especially during winter. We have it completely backwards, if we are going to adjust our clocks we should adjust them in a way that gives us more sunlight during winter, not less. I don't care if it's dawning by the time I'm going to work where I will be stuck indoors for nine hours, I want sunlight when I'm free again.

bloppe 10/28/2025||
Everybody think DST is the worst and needs to be replaced in some way or another. Most people don't realize that their proposed "solution" has already been tried. Your particular solution of "year-round DST" was tried in America in 1973-1975. I'll just quote Wikipedia:

> During the 1973 oil embargo by the Organization of Arab Petroleum Exporting Countries (OAPEC), in an effort to conserve fuel, Congress enacted a trial period of year-round DST (P.L. 93-182), beginning January 6, 1974, and ending April 27, 1975.[17] The trial was hotly debated. Those in favor pointed to increased daylight hours in the summer evening: more time for recreation, reduced lighting and heating demands, reduced crime, and reduced automobile accidents. The opposition was concerned about children leaving for school in the dark and the construction industry was concerned about morning accidents.[18] After several morning traffic accidents involving schoolchildren in Florida, including eight children who were killed, Governor Reubin Askew asked for the year-round law to be repealed.[19]

> Over three months from December to March, public support dropped from 79% to 42%.[19] Some schools moved their start times later.[19] Shortly after the end of the Watergate scandal caused a change of administration, the act was amended in October 1974 (P.L. 93-434) to return to standard time for four months, beginning October 27, 1974, and ending February 23, 1975, when DST resumed.[18][20] When the trial ended in October 1975, the country returned to observing summer DST (with the aforementioned exceptions).[12]

nostrademons 10/28/2025|||
Schools in the U.S. in general start way too early. The AAP recommends no earlier than 8:30 AM [1]; the average across the U.S. is 8:00 AM [2], and close to 20% of suburban high schools start before 7:30 AM. An 8:30 AM start time would be after sunrise in every major municipality in the U.S; sunrise in Seattle and Duluth (the most northerly major cities in the continental U.S.) on Dec 21 is at 7:55 AM.

GP was proposing year-round standard time, not year-round DST.

[1] https://www.apa.org/topics/children/school-start-times

[2] https://nces.ed.gov/pubs2020/2020006/index.asp

maest 10/28/2025||||
The world extends beyond the US and many countries have successfully abolished DST. But maybe America is exceptional in some way, sure.
bloppe 10/28/2025|||
Sure. Russia abolished time shifting in 2011, but since then they've had 1 national and several regional time zone adjustments as people grapple with the reality of having to commit to 1 time zone at high latitude. The EU was in discussion to abolish their shifting around 2018, and the Russian example was often cited by the opposition as a cautionary tale. The EU might have gonna through with it otherwise.
ndsipa_pomu 10/28/2025|||
Possibly a relaxed attitude towards driving standards combined with a complete reliance on cars?
derektank 10/28/2025||||
Outdoor lighting is a lot cheaper now than it was in the 1970s. I think we can give it another shot after 50 years. And it's worth pointing out that Arizona has gone without DST for the last 50 years and seems to be doing fine.
BoxOfRain 10/28/2025|||
Interestingly part of the UK approach then was to make street lighting more efficient, around that time a lot of low-pressure sodium lamps were installed. They used so little energy they were only beaten for efficiency by LEDs in this decade, but the monochromatic yellow light was seen as unacceptable by some countries which continued to use inefficient high-pressure mercury then later high-pressure sodium.

I miss the humble SOX lamp to be honest, they made night look like night rather than a poor approximation of day. They also had benefits for wildlife, much of which is insensitive to the 589 nm wavelength as well as astronomy where the light is easily filtered out.

duskdozer 11/1/2025||
>but the monochromatic yellow light was seen as unacceptable by some countries

Oh, I guess the high-K LED street-light monstrosities are very intentional then. I just thought it was oversight

BobAliceInATree 10/28/2025||||
Thats only because it’s so hot in Arizona they want to sun to set earlier so it’s cooler in summer evenings.
maxutility 10/28/2025||||
Arizona is permanent standard time rather than permanent DST, and is thus unaffected by the permanent-DST winter mornings issue.
throw0101a 10/28/2025|||
> And it's worth pointing out that Arizona has gone without DST for the last 50 years and seems to be doing fine.

Arizona observes year-round Standard Time:

* https://en.wikipedia.org/wiki/Time_in_Arizona

Most legislation seems to be proposing year-round Daylight Saving Time, e.g.,

* https://en.wikipedia.org/wiki/Sunshine_Protection_Act

StopDisinfo910 10/28/2025||||
France has year round DST and an hour on top during summer since 1940 and far less car accidents than the USA both in the morning and in the evening. So does Spain and Portugal but I'm too lazy to check since when. I don't think automobile accidents is a very good metric to evaluate the interest.

It's basically a trade off between light in the morning and the evening. When Britain tried, they saw that it was mainly impactless with regards to the total number of accidents. They still reverted.

throw0101a 10/28/2025|||
> France has year round DST and an hour on top during summer since 1940 and far less car accidents than the USA both in the morning and in the evening.

In 2019, the European Sleep Research Society (ESRS), the European Biological Rhythms Society (EBRS), and the Society for Research on Biological Rhythms (SRBR) wrote a joint statement to the European Commission advocating for permanent establishment of a more natural time.

* https://esrs.eu/wp-content/uploads/2019/03/To_the_EU_Commiss...

This would mean France and Spain being in UTC/GMT, and (most of) Portugal being in UTC-1.

StopDisinfo910 10/28/2025||
Actually, the document only argues for permanent CET and ending DST. It does not mention change of time zones.

The logic would be sound however. Social Jetlag is real. I for one loath DST and switching back to CET noticably improves my sleep and overall well being.

bloppe 10/28/2025|||
Everyone seems to be focusing on the school car accident. I was focusing more on "Over three months from December to March, public support dropped from 79% to 42%". People just don't like waking up super early in winter.

> France has year round DST and an hour on top during summer

That's a weird way of putting it, but sure. Spain is also famous for their absurdly "late" schedules (e.g. dinner at 11pm). People will naturally adjust if the baseline is offset like that. France does as well, but to a lesser degree. Importantly, both countries still observe the shift twice a year, because having a DST shift is actually popular (at high latitudes; obviously it makes no sense in the tropics).

StopDisinfo910 10/29/2025||
> That's a weird way of putting it

France is offset by at least one hour from its actual time zone, Portugal by two. I don’t really see what’s weird here. It’s exactly the effect of year long DST. It goes all the way to two and three hours in summer.

Apparently people don’t really care about the winter mornings when they are used to it because approximately no one wants to get back to a normal time zone there. Some people are even arguing for keeping the even more extreme DST year long.

I will hazard that your stats from the 70s have everything to do with habits and very little to do with the actual effect of shifting time long term.

BobaFloutist 10/28/2025|||
Have we tried my solution of having a continuous curve of time adjustments instead of one big discrete jump? I think that would have been awful in the day of manually set, analog clocks, but surely in 2025 when everything's digital and many things are connected it's totally possible, no?
ray_v 10/28/2025|||
My fist reaction was that it would be immediately rejected, but the more I thought about it, it seems like it could work if you moved clocks BACK 5 minutes at the START of each MONTH from July 1st to December 1st, and then FORWARD 5 minutes starting from January 1st to June 1st.

No, the more I think about this, PROGRAMMERS will HATE this.

nerdsniper 10/28/2025||
I’m also not resetting the manual clocks around my home and vehicle every damned month.

I genuinely dont care if we pickstandard time” or “savings time” … i just want my year-round circadian rhythm to not get fucked up twice a year - it takes me so long to get used to the new one and then it gets rug pulled again.

umbra07 10/28/2025||||
It's still awful. The only devices I own that would give me a reliable time, would then be my phone, laptop, desktop, and maybe my TV. My microwave, oven, thermostat, alarm clock, car, watch, grandfather clock, etc would all be wrong.

You would wreak unmeasurable havoc across the target country.

marzell 10/28/2025|||
Yeah at that point I think we'd be better off if everything was just UTC and dealt with locally
ray_v 10/28/2025|||
Eh, it's like 5 minutes a month they would be off by. Eventually all those devices will be Internet connected anyways and we'll all have something else new to rage over.
ndsipa_pomu 10/28/2025|||
The only "advantage" to that is that companies would sell a lot more devices as people end up realising that their phone/central heating/doorbell/dashcam etc doesn't get any OTA upgrades and is now almost always showing the wrong time.
BobaFloutist 10/29/2025||
No, the advantage is that it would allow you to optimize for circadian rhythm without having huge disruptions twice a year.

I fully acknowledge that there would be some major disadvantages and challenges, but they mostly strike me as logistical and engineering challenges, rather than technological limitations. My car, which is not connected to the internet, knows when it's been a day, because it gives me time in AM and PM. There's no reason it couldn't count days and automatically adjust time based on this. Same for thermostats, microwaves, ovens, TVs, etc.

StopDisinfo910 10/27/2025|||
So you propose we stop shifting the clock but shift every opening and closing times instead producing exactly the same effect with basically no difference.

And you want to abolish DST but the end of your comment is that you actually want even more shift including in winter.

I fear I have trouble following your reasoning and understanding what you actually want.

cameldrv 10/27/2025|||
Yes shift the opening and closing times of everything. Get everyone to coordinate, so that your kids' school time doesn't shift relative to when you need to be at work, not to mention everything else where two different organizations have to do something that regularly happens at a particular time. Give up eliding this whole problem so that some programmers have an easier time scheduling backups or database compaction.

In fact, as some have suggested, we should also give up time zones and just use UTC for everything. That way when you have to schedule a Zoom call a few thousand miles away, there is no confusion as to the time. Some idiot might retort that since people like to sleep when it's dark, that instead of looking up the time zone difference, you'd have to look up what time the sun rises where they live.

I say screw them. Half of the world should just learn to live with sleeping during the "day" and go to work at "night." We've got electric lights now. It's a small price to pay so that programmers don't have to do time zone conversions.

anal_reactor 10/27/2025|||
If we're talking about radical time-related ideas, mine is to shift midnight to be the current 4AM. The reasoning is that many events last until past midnight, while 4AM is more or less the time when both the party and the work people are asleep.
nostrademons 10/28/2025|||
If you want to get even more radical, abolish standardized time entirely and just have everybody maintain a personal calendar that reflects the times they are awake, when they are busy, and when they're available. The proliferation of electronic devices gets us halfway there already, eg. iPhones have sleep/wake hours that tie into alarms and do-not-disturb, Google Calendar lets you set working hours, etc.

Way back in my pre-parent days, I used to wake up around noon, roll into work between 1-2 PM, work until around 10 PM, and then go to bed around 4:00 AM. There was briefly a proposal to give me and a few other late-rising coworkers rollback privileges to the Google Maps codebase, because between the Maps team in Zurich, the Maps team in Sydney, the Maps team in NYC, and a few night-owls in California, that would give them 24 hour coverage with significant overlap for handoffs. It went nowhere because we didn't work on Google Maps and some VP probably balked at having people not in their org with full owners privileges, but it's an interesting example of combining timezones + personal schedules to get better time coverage.

bloppe 10/28/2025||||
While we're at it. I'd like for 9am to be 5pm, and for 12 to be 4:20.
fzil 10/28/2025||
oh please, 9am should be whenever I log into my work computer.
dathinab 10/28/2025||||
also obviously remove support for 12hour clocks from everything, who the duck thought having two different 4 O'Clock times every day makes sense. And what the insanity is the nonsense that write 12 mean 0 a.m. I.e. going from 11:59am goes to 12pm, like seriously who thought clocks braking basic math is a good ideaf!?!? Like the rang [11:59am;12am] is 12 hour and 1 minute wide instead of just 1 minute even through it uses the same unit.
ndsipa_pomu 10/28/2025|||
Whilst we're at it, let's have 100 seconds per minute and 100 minutes per hour. I'm not sure whether I'd prefer 10 or 100 hours per day, though maybe 10 hours would be sufficient.
voidUpdate 10/28/2025||
20 hours per day, 10 in the morning and 10 in the afternoon
drdec 10/28/2025|||
I say keep the 12 hour clock, it is too ingrained, instead let's have twice as many days. April 42nd anyone?
joquarky 10/28/2025|||
Mine is to indicate time of day by what longitude the sun is at meridian.
throw0101a 10/28/2025||||
> In fact, as some have suggested, we should also give up time zones and just use UTC for everything.

Obligatory link to 2015's "So You Want To Abolish Time Zones":

* https://qntm.org/abolish

* https://news.ycombinator.com/item?id=39692011

* https://news.ycombinator.com/item?id=26416337

* https://news.ycombinator.com/item?id=8902765

jychang 10/28/2025|||
> Get everyone to coordinate

Lol. Lmao, even.

No further comment needed.

HiPhish 10/27/2025||||
> So you propose we stop shifting the clock but shift every opening and closing times instead producing exactly the same effect with basically no difference.

Lol no, that would be indeed even worse. I want to do the shift once and forever. Well, first and foremost I want to get rid of the twice-a-year switch. The question that usually arises then is "should we be permanently on standard time or on DST", to which my proposal is standard time (because it's correct) but shift working hours once and forever so we have more sunlight all year around. During summer it would be the same as it already is and during winter we have one more hour of sunshine, which is the time of the year when I want sunshine the most.

kuboble 10/28/2025|||
It could be better for YOU but you seem to assume it's a universal desire.

many people prefer to have the daylight at the start of their day.

4gotunameagain 10/28/2025|||
There is no correct or wrong time, it's conventions that do not apply generally. Some countries have some timezones where summer time is more "correct" than winter time.

Therefore why not just stick to summertime and skip the whole "change every opening hours" thingy ?

xigoi 10/27/2025||||
If I’m reading the parent correctly, they Want to switch to non-summer time and adjust opening hours to be effectively like summer time, forever.
ASalazarMX 10/27/2025|||
I think PC is proposing using the natural time zone, and adjusting hours if you need sunlight to operate. Summer time is awful because different latitudes have different hours of sunlight, yet all are forced to the least common denominator.

Cities closer to the poles might want to adjust more than one hour, or none at all since they see little sunlight for months anyway. Cities near the equator might not need to adjust at all. Businesses that need to be synchronized could still coordinate their operating hours. It's the most natural approach is DST had never existed.

hsbauauvhabzb 10/27/2025|||
I wonder what the earliest sunrise time would be as a result, 2am?
jakewins 10/27/2025||
The earliest sunrise is that the sun does not set, which happens every summer for all the cities and towns north of the polar circle
malfist 10/27/2025||||
Stores already do this. Check your hours at your local mall, Kroger or Lowes.
butlike 10/28/2025|||
There's more clocks than storefronts
sllabres 10/27/2025|||
I don't want to be petty, but there is no 'winter time', only standard time and summer time or 'daylight saving time'.

I first heard the term 'winter time' when it was discussed to decide weather to keep DST permanently or if people would like to keep 'winter time' always. And of course who would want to have winter-something always. ;)

keithwinstein 10/27/2025||
If we're being really pedantic, in the U.S. context the zones observe "standard time" all year. "Standard time" refers to the standardization across the zone, and the practice of advancing the clock during daylight-saving time changes each zone's standard time. The Unix-style usage of "EST" vs. "EDT" isn't pedantically correct (e.g., New York observes "eastern standard time" even in summer).

See 15 U.S.C. §§ 260a & 263 (https://www.law.cornell.edu/uscode/text/15/chapter-6/subchap...).

dragonwriter 10/27/2025||
> and the practice of advancing the clock during daylight-saving time changes each zone's standard time.

Even more pedantically, “standard time” is not necessarily consistent across each zone (particularly, during the period for which in parts of the zone it is advanced by an hour) since "standard time” only advances for those states, or parts of states, for which an exemption is not in place.

So, the Unix-y convention of using PST for "Pacific Standard Time without advancement", and PDT for "Pacific Standard Time with advancement" is the simplest way of getting meaningful concise labels out of the US legal scheme. (This is only a theoretical issue for some US timezones, but it is a concrete one for at least the Pacific and Hawaii-Aleutian Time Zones.)

keithwinstein 10/28/2025||
> Even more pedantically, “standard time” is not necessarily consistent across each zone (particularly, during the period for which in parts of the zone it is advanced by an hour) since "standard time” only advances for those states, or parts of states, for which an exemption is not in place.

I can't find a source (including 15 U.S.C. § 260a) that supports this reading, although I agree it's a little ambiguous. The law suggests that a region that doesn't observe DST is observing "the standard time otherwise applicable during that period" and is exempt from the provisions regarding advancement, not that "Pacific standard time" depends on where you are (see 15 U.S.C. § 263).

> So, the Unix-y convention [] is the simplest way

No argument there!

dragonwriter 10/28/2025||
> I can't find a source (including 15 U.S.C. § 260a) that supports this reading

From 15 USD § 260a, right after laying out the baseline rule for advancing standard time: “... however, (1) any State that lies entirely within one time zone may by law exempt itself from the provisions of this subsection providing for the advancement of time, but only if that law provides that the entire State (including all political subdivisions thereof) shall observe the standard time otherwise applicable during that period, and (2) any State with parts thereof in more than one time zone may by law exempt either the entire State as provided in (1) or may exempt the entire area of the State lying within any time zone.”

There are places that are exempt from the legal rule advancing standard time, hence, in those places, standard time does not advance.

endgame 10/27/2025|||
Everyone carries a GPS in their pocket; why not use it for good? We can have people's clocks continually update so that 12:00 is solar noon at their current location each day, and avoid the jarring transitions into and out of DST.

Don't ask what people living in the high altitudes will do - I'm still working on that.

pantalaimon 10/27/2025|||
That's what people did before time zones were a thing. Is caused a major hassle for railway schedules when those started to be all the rage.
ndsipa_pomu 10/28/2025||
Here in Bristol, UK, we've got an old Corn Exchange that has a clock with two minute hands to show London time (GMT) and Bristol time which was about 10 minutes different.

https://en.wikipedia.org/wiki/The_Exchange,_Bristol

BoxOfRain 10/28/2025||
'Oxford Time' is still used for a few things in Oxford, the clock at Christ Church reads five minutes slow with respect to GMT for example.
tzs 10/28/2025||||
Continuously updating clocks is an interesting idea, but it isn't solar noon that you want to to anchor it to. That doesn't really accomplish anything biologically useful.

It is sunrise you want to anchor it to, because it is sunrise that our circadian rhythms sync to.

trenchpilgrim 10/28/2025||
What definition of sunrise? I live near a mountain range, so sunrise changes depending on what part of the mountain the sun aligns with that day.
TylerE 10/27/2025||||
Do you not appreciate how incredibly annoying it would be if the clocks in the next town over were 5 minutes ahead of yours?
solid_fuel 10/28/2025|||
Forget different towns being 5 minutes ahead, from the other linked qntm post [0]:

> At the equator, the position directly underneath the mean Sun travels west at about 463 metres per second. That means a standard rack unit is about one millisecond wide. At latitudes closer to the poles, the effect is amplified, although but not by more than an order of magnitude in the realistically habitable parts of the world.

Even a row of servers would all have different times.

[0] https://qntm.org/continuous

endgame 10/29/2025|||
Not viscerally, but this was meant to be an obviously unserious proposal.
joshAg 10/27/2025||||
please don't ditch timezones.

https://qntm.org/continuous

rick_floss 10/28/2025||||
”Lets meet at the coffeeshop in town X at 5pm” becomes a real difficult thing to orchestrate.
bloppe 10/28/2025||||
It's only actually an issue at the poles. Even 10 meters away from the pole, there's technically going to be a solar noon.
pseudalopex 10/27/2025|||
> Don't ask what people living in the high altitudes will do - I'm still working on that.

You meant latitudes?

michaelt 10/28/2025|||
Maybe he means astronauts on the International Space Station, who will now have a 90 minute long day.
porridgeraisin 10/28/2025||
Why will they have a 90 minute long day? It's probably obvious I'm just not clocking(tee hee) it.
TylerE 10/28/2025||
Orbital period in LEO
endgame 10/29/2025|||
I did, thank you.
dathinab 10/28/2025|||
DST wasn't a mistake and did make a lot of time (at least if you are far enough away from the equator). Heck if you go back far enough local time might have varied by session/be relative to sun rise, and that did make sense in the past.

What is the mistake is keeping it.

Through changes need to be coordinated (e.g. in the EU across _all_ EU member states), which makes it an annoying topic to takle.

That people tent to say "keep winter time" but it directly conflict with what sleep scientist tend to recommend is not helping either. In the end normal time is summer time and it is better for most peoples sleep rithm that is what we should go to.

Oh also don't shift work start/end times, the whole point is to not shift when you need to wake up/go to bed but can have consistent healthy sleep.

bloppe 10/28/2025|||
> In the end normal time is summer time

I think you have this backward. Standard time is during winter. Daylight savings is during summer.

That being said, I used to hate the switch, like you. Now, I'm convinced it's the best of only bad options. Just look at the history of DST. We've tried it all. We've tried year-round standard time. We've tried year-round DST. We've tried switching at all sorts of different dates. Every system has it's problems and it's advantages. The current system is basically the one that actually pissed people off the least.

dathinab 10/28/2025||
> I think you have this backward.

oh, yes, I got that mixed up. That also mean permanent winter time would be better for the sleep not permanent summer times (it was whatever the "standard" time was as far as I remember). Either way people cant decide on what time they prefer makes any change harder.

> I'm convinced it's the best of only bad options.

idk. the time switch every year comes with an increase in traffic accidents for up to a weak after it happens. While most jobs today either aren't overly dependent on sunlight anymore or don't sync up with e.g. start of school or similar anyway (e.g. field work). I guess that argument does differ for any area widely dominated by farming and limited farming automation.

robertjpayne 10/28/2025||
Farmers don’t care what a clock says at all. They start when the sunlight says they can.

It’s never been about farmers and never will be.

dathinab 10/28/2025||
to some degree thats my point for most jobs either

- you don't care about the clock but some time relative to sunrise

- aren't dependent on sunlight on your job anymore

- anyway have to head out very early before sunrise (for most of the year)

sure maybe DST does save a small bit of electric bill in some jobs, but thanks to modern light technology it's not really that relevant anymore, on the other hand the reliable increase in traffic accidents every time we switch to summer time does matter.

Now there still is the argument about what is healthier (ignoring the known unhealthy switching times) but there is so much with way stronger effects in modern life (e.g. TVs, bright white LED lamps etc.) that I'm not sure if the effect if even realistically measurable.

dathinab 10/28/2025|||
PS: on the other hand the affect on sleep might not matter (as in there are many far large effects). I live north enough for the number of sunlight hours and sunrise/set in summer and winter to massively differ, with the sky never getting fully dark during the few longest days.
dkersten 10/27/2025|||
> because that's the correct one

No it’s not. We assigned the meaning of time, we can assign it one hour shifted. Or better yet, just ditch timezones altogether.

Summer time is much better where I am, winter days wouldn’t get dark quite so stupid early.

dathinab 10/28/2025|||
> Or better yet, just ditch timezones altogether.

that is quite a terrible idea IMHO (at least if done internationally)

sure they make international meetings/events harder, but for most people most of their live is bound to local time meanings even if you travel to another country. 7am is in the morning 7pm in the evening 11:59am is mid day etc. If you remove time zone then for some people 7am is morning for other it's mid day and for other noon. So creating a lot of issues for everyone just to make international remote meetings and events easier seems like a bad idea, not even considering the absurde level of practical issues a switch like that would cause for any country not around UTC+0. Even more so remote meetings and events normally involve software and and time zone confusions are very solvable there (display time dynamically in the time zone device currently displaying it (but with time zone suffix, and some considerations about storage wrt. changing time zones, also maybe add an option to display in home instead of current time zone)). Annoying is how few programs do that properly.

dkersten 10/28/2025||
Except even locally time is different for different people. People work nights, mornings, afternoons. Some shops open at 6am, others at 9am. Some people get up at 5, others and noon.

You still learn that x time is your time to do y, and people will quickly adapt to whatever number x happens to have.

We only associate 9am with anything because we learned to. We could just as easily learn a different number, and people with different work schedules do just that.

dathinab 10/28/2025||
> Except even locally time is different for different people.

If you say "9pm local time", everyone knows it's the evening no matter if it's the time you go to bed or stand up because you work the night shift.

If a book says someone slept until 1pm you now they slept until mid day, no mater where the story plays. You don't have to go to the internet and look up if where he lives 1pm is morning, evening, night, etc.

HiPhish 10/28/2025||||
Noon should be a 12 o'clock. So whichever of the two times is closer to 12 o'clock during noon in the middle of the time zone should be the one time. I don't really care if it's DST or standard time, just pick one and if necessary adjust working hours so we get that one extra hour of sunlight during winter.
4gotunameagain 10/28/2025||
As mentioned previously on other comments, it is much more important for human activity to sync everything to sunrise instead of noon.
dkersten 10/28/2025||
Sunrise varies greatly. In my country, it’s anywhere as early as 5am and as late as 10am (9am with DST)

That’s quite a range to sync to. At least syncing to noon, you don’t get much shifting throughout the year since sunset and sunrise shift roughly equally.

wormius 10/28/2025||||
Oh the halcyon days of Swatch Internet Time measured in .beats (1000 .beats to a day)

https://en.wikipedia.org/wiki/Swatch_Internet_Time

I love that it's metric. One would think they'd at least give homage to 1024, but it's Switzerland so they gotta shove mod10 in our faces.

dkersten 10/28/2025||
I’m obviously not seriously pushing to abolish time zones, just stating my personal opinion.

However, if it were somehow up to me, I’d would prefer a single global metric time.

aaronblohowiak 10/27/2025||||
Yes, about 14 years ago I made http://the.endoftimezones.com as a lark. its probably the thing I've made that's been in prod the longest.
joshAg 10/27/2025||||
please don't ditch timezones.

https://qntm.org/abolish

zamadatix 10/27/2025|||
The thing I don't like with these kinds of articles is rather than list potential pros/cons they make a wholly one sided story everyone is supposed to agree with the whole way and say "oh wow, yeah" at the end. Reality is it breaks right at the start - you don't really know when a good time to call someone is by the sun. You know because of when they wake up, when they go to bed, what hours they work, what you're calling them about, when they like to eat meals, etc. All of that varies by many hours within a timezone based on culture or individual, so it derails that build up pitch. It's a given the author isn't particularly swayed by that, but that they don't even talk about the detail and just move on spoils the rest of the (well put together) list IMO.

One way or the other I don't think we'll make a big shift in timekeeping until/if we ever have a sizable population off Earth. Of course, that introduces its own time problems we don't have to deal with as much all being so close together :).

dijit 10/27/2025||
I don’t personally see a lot of difference in consulting a chart of “what time is it in x country” vs a chart of say “the time business starts in country x”.

They’d be the same exact list. “offset +9 hours”- the only semantic difference would be that clocks don’t change.

I should mention that I spent a little bit of time in Saudi Arabia and expecting them to be out and about at 7pm like in Western Europe and the USA is crazy, they seem to get up later and keep going until 3am. I’ve never seen rush hour at 3am until I spent time in Riyadh. It’s a false construct we’ve decided on: that everyone follows the same time pattern anyway.

Why do we believe the world needs to wake up at 7am? If nothing else its so incredibly arbitrary to begin with.

dkersten 10/27/2025|||
I never found those arguments for keeping time zones particularly compelling. Everyone has their own schedule, trying to standardise time to sync people up is silly, you sync by talking to them and asking them what times they are available. The number on the clock doesn’t actually matter.

But DST affects us exactly because people tried to standardise on time AND then shift that meaning twice a year. If we ditched timezones, then businesses could say ok we will work from 1700 until until 0100 or whatever, based on time relative to sunrise, it it would be consistent all year round.

The thing is, regardless of timezones, you have to ask people what times they work or are available or whatever. Also consider that timezones are arbitrary and made up anyway: china physically spans the space of 3 timezones yet the entire country uses one timezone.

icedchai 10/27/2025||||
Summer time definitely "feels" better to me. The early sunsets in winter are super depressing.
doubleunplussed 10/28/2025||
One thing I hear people say in places DST was abolished is that the late sunrises in winter are similarly depressing, and that this is something not really appreciated by those who want to abolish DST by having it be summer time year round
dkersten 10/28/2025||
It’s already late though. If you work in an office, you don’t see either the sunrise or sunset: it’s dark when I get to work and dark when I leave.
piva00 10/27/2025|||
Same, I hate this last weekend of October when sunset suddenly shifts from 17.00 to 16.00, it makes the winter darkness so much worse... It'll be dark before I start and end work anyway (on solstice it's 8.30-14.30), at least let me have sunlight a little later in the day so I won't feel as miserable.
bmandale 10/28/2025|||
DST is just a hack to make the time roughly correspond to when the sun rises, instead of when noon is. It solves the problem that people want their day to start when the sun is up, not before, and not after. The problems it creates are mostly for programmers who can't be bothered to write good software. Well I say tough cookies, you'll have to handle the edge cases so the rest of us have comfortable mornings.
maest 10/28/2025|||
> The problems it creates are mostly for programmers who can't be bothered to write good software

Myopic and ill informed.

> A 2017 study in the American Economic Journal: Applied Economics estimated that "the transition into DST caused over 30 deaths at a social cost of $275 million annually", primarily by increasing sleep deprivation.[128]

From https://en.wikipedia.org/wiki/Daylight_saving_time, Effects on Health section. That section mentions many more negative effects of DST.

bmandale 10/28/2025||
> An LSE study found that DST transition increases people's feeling of being rushed for time, and the number of hours spent on leisure decreases by roughly 10 minutes following the transition and more specifically the spring transition into DST decreases life satisfaction by around 1.44 per cent.

I think this summarizes it. The negative effects are concentrated around the transition. The positive effects are spread throughout the year. You lose 1.44% life satisfaction for a few days, and gain immeasurably more over the course of the year.

nostrademons 10/28/2025||||
It's a pretty imperfect hack, since in many parts of the continental US the sun still rises at 5:00 AM even with DST, and you still get up in darkness in the winter. It was dark when I woke up today, for example.
Mistletoe 10/28/2025||||
I don’t give a crap about the day starting when the sun comes up. I just want to go home at 5PM in winter and it not be dark already. There are plenty of studies about how this increases depression in the winter. The fact we keep persisting with this perverse nonsense infuriates me.
bmandale 10/28/2025||
You presumably also want to go to work and have it not still be dark. You can't have it both ways.
gbear605 10/28/2025|||
I’d much rather go to work in the dark and have sunlight after work. The only people that it’s better for are children who would have to wait for the school bus outside in the dark, though in my experience growing up school started early enough that we were still waiting in the dark anyway.
Mawr 10/28/2025||||
No? Why would I care? I'm going to work/school anyway. I want light during my free time in the evenings.
Mistletoe 10/28/2025|||
No I don't care if it is dark when I go to work. I'm fresh then and I can't garden and go outside at work like I can at 5pm at home.
duskdozer 10/28/2025|||
A lot of the conflict over which of daylight and standard time is better would be solved by allowing people more freedom to choose their own working hours. A lot of the rhetoric around it seems to be about what the optimal sleep-wake schedule is, which strangely tends to match up with the speaker's own sleep-wake schedule.
LeonB 10/28/2025|||
In Superman III, the eponymous man straightens the leaning tower of Pisa, and in Superman II he spins the earth backwards to reverse time.

A better idea would be to un-tilt the earth’s axis, thus getting rid of variable day lengths, annual seasons, the need for DST etc, just one enjoyable spring day, every where, all year round.

hsbauauvhabzb 10/27/2025|||
In theory this is nice assuming you push the opening hours back but the cost of it would be significantly more than the developer time wasted by a mile.

Binding times to timezones to geographic locations (which have different sunrise and sunset times) to opening hours to social stigmas (you wake up after 11am? Tisk tisk) is downright silly, but humans don’t like change so fixing it will never happen.

anal_reactor 10/28/2025|||
I agree with you except I think we should stick to summer time because it's obviously the correct one. And hence the whole debate.
throwaway106382 10/28/2025||
How about we cut the baby in half and just shift back by 30 minutes.
anal_reactor 10/28/2025||
That's a great idea. The concept of "any two places in US or EU are a full number of hours apart" is overrated.
throwaway106382 10/28/2025||
The Newfoundlanders were on to something
gilfoy 10/27/2025|||
NC has a house bill that has not passed committee to abolish DST, and a senate bill to only have DST.
candiddevmike 10/27/2025|||
I'm all for abolishing DST, but I'm not sure which one I'd choose, both have trade offs.
gpvos 10/27/2025||
Um, no? Using standard time in summer (assuming northern hemisphere) means that the time will be earlier when the sun goes up and under. So it will be darker at 9 PM and easier to put your children to bed. They may get up earlier though.
Yizahi 10/27/2025||
The early rising part of the population would love to pull that off, just like it actually happened for centuries now. The problem is that late rising part of the population has never disappeared and does have a voice. Late risers can't do anything with people collectively deciding to open work time at 7 or whatever. But they can and will voice their opinion when a public discussion about time zone will inevitably arise. Surprise, surprise, late risers exist, and they are also human.

PS: by late risers I of course mean people with shifted circadian clock, and not "lazy" people, like they are sometimes presented.

Numerlor 10/28/2025|||
Also anyone living at higher latitudes won't be thrilled by having the sun up even earlier. I don't live that high up compared to quite a lot of people in Europe, and during summer the sun already starts shining from below the horizon at 3 in the morning
rkomorn 10/28/2025||
I feel like, at higher latitudes, it should matter less?

Whether sunrise is at 3am or 4am, you still basically need to have a way to sleep with unreasonable amounts of sunlight (eg 18-20 hour days).

At lower latitudes, summer time makes more sense because the difference between a 5am and 6am sunrise goes from "too early" to "manageable". Same goes for 9am being too late compared to 8am in the winter for example.

At higher latitudes, you have to accommodate no matter what.

At lower latitudes, 1h makes a difference.

gpvos 10/28/2025|||
I am a late riser and am very strongly in favour of permanent standard time.
saghm 10/28/2025||
So much of the discussion that happens around DST always end up coming across to me like they're based on people's subjective experiences that they seem to assume apply universally (or close enough to it to structure society around, with the assumption that only a small fraction of people don't experience things similarly). I don't think things are nearly so simple, and while having issues strong enough to be diagnosed with a condition like the ones I mentioned above is probably not super common, it seems pretty plausible to me that there's a lot more of a spectrum than just "people whose circadian rhythm perfectly matches the sun" and "outliers whose circadian rhythms are designed misaligned with the first group". It just doesn't seem obvious to me that the issue couldn't be that some people have different enough experiences in terms of their circadian rhythms that their optimal clock scheme might be an hour earlier or later than someone else, or that one person might be greatly affected by the total length of the sunlight in the day and another might be completely indifferent to it.

There are a number of disorders[1][2][3][4] that relate to circadian rhythm, and I don't think it's that much of a stretch to imagine that even outside the bounds of a diagnosable condition people's experiences might be a spectrum rather than a binary of "majority of people who would all have the optimal experience with the exact same scheme for how clock time should work" and "small fraction of outliers who wouldn't agree with the obvious best solution that everyone else would". It's absolutely wild to me how many people feel so strongly about the "correct" way to handle this that when examined basically boil down to "well, this is what would make me happy". I don't doubt that people probably are correct about what would work better for them, but I also don't think it's that crazy to think that it might not be that uncommon for two arbitrary people to have optimal clock schemes that differ by an hour or more, or that whether or not their optimal clock scheme might vary direct by the time of year, especially given that the length of sunlight in a day isn't at all uniform at different latitudes.

I don't pretend to know for sure whether DST is right or not, or what the correct hours to pick in the absence of it would be, but I can't help but be skeptical of an argument that it "needs to die and solves no problems" and that a certain time is the "correct" one because "I want <something>". It's totally valid to want and even argue for something, but that's not at all the same as anything else being automatically incorrect when your way of getting it is literally to enforce how time works for millions of people. Phrasing it like that just doesn't make it sound like your arguments are going to be very convincing.

[1]: https://en.wikipedia.org/wiki/Circadian_rhythm_sleep_disorde...

jedberg 10/27/2025||
I've told this story before, but it's super relevant here. When I set up all the servers for reddit, I set them all to Arizona time. Arizona does not have DST, and is only one hour off of California (where we all were) for five months, and the same as here the rest of the year.

I didn't use UTC because subtracting eight when reading raw logs is a lot harder than subtracting one.

They use UTC now, which makes sense since they have a global workforce and log reading interfaces that can automatically change timezones on display.

aerostable_slug 10/27/2025||
I've had to try to clean up after a similar early decision and it was very painful.

Please stick with utc across the board people, someone someday may have to clean up your mess.

tuhgdetzhh 10/27/2025|||
This can also be expressed as general advice.

Whenever you are unsure whether to use a clever solution or follow the globally accepted standard in your work as a DevOps or Software engineer, always choose the standard.

roughly 10/27/2025||
The Principle of Least Surprise.

Among other things, in an incident, people’s brains aren’t working - the more they have to remember about your particular system, the more likely they are to forget something.

lxgr 10/27/2025||||
While I agree on this particular instance, there are two types of things future engineers have to clean up after: Their predecessors thinking too small (and picking the easy route) or too big (and adding needless complexity).

One is not necessarily and in all instances less of a mess to clean up behind than the other.

jedberg 10/27/2025||||
Nowadays I'd agree with you, UTC is probably the best bet. But back then, it wasn't.
evil-olive 10/27/2025|||
> But back then, it wasn't.

UTC was standardized in 1963 [0]

it was already a 40 year old standard at the time you're talking about.

awareness of UTC being the correct choice has definitely increased over time, but UTC being the correct choice has not changed.

you say reddit servers use UTC now, which implies there was a cutover at some point. were you still at reddit when that happened? were you still hands-on with server maintenance? any anecdotes or war stories from that switchover you want to share?

because I can easily imagine parts of the system taking a subtle dependency on Arizona being Reddit Standard Time, and the transition to UTC causing headaches when that assumption was broken. your memory of this "clever" trick might be different if you had to clean up the eventual mess as well.

0: https://en.wikipedia.org/wiki/Coordinated_Universal_Time

rgbrenner 10/27/2025||||
using utc on servers was very common in 2005
tonyarkles 10/27/2025|||
I’d say it was common enough but not universally, given the number of arguments I had from 2005 to 2015 about this exact issue.
jay_kyburz 10/27/2025||
Hold on, I'm not a sysadmin guy. Are you folks saying the server should not know what part of the world its in, that basically it should think it's in Greenwitch?

I would have thought you configure the server to know where it is have it clock set correctly for the local time zone, and the software running on the server should operate on UTC.

devchix 10/27/2025|||
From a logging perspective, there is a time when an event happens. The timestamp for that should be absolute. Then there's the interaction with the viewer of the event, the person looking at the log, and where he is. If the timestamp is absolute, the event can be translated to the viewer at his local time. If the event happens in a a different TZ, for example a sysadmin sitting in PST looking at a box at EST, it's easier to translate the sysadmin TZ env, and any other sysadmin's TZ anywhere in the world, than to fiddle with the timestamp of the original event. It's a minor irritation if you run your server in UTC, and you had to add or subtract the offset, eg. if you want your cron to run at 6PM EDT, you have to write the cron for 0 22 * * *. You also had to do this mental arithmetic when you look at your local system logs, activities at 22:00:00 seem suspicious, but are they really? Avoid the headaches and set all your systems to UTC, and throw the logs into a tool that does the time translation for you.

The server does not "know" anything about the time, that is, it's really about the sysadmin knowing what happened and when.

katabatic 10/27/2025||||
1) Most software gets its timestamps from the system clock 2) If you have a mismatch between the system time and the application time, then you just have log timestamps that don't match up; it's a nightmare - even more so around DST/ST transitions
evil-olive 10/27/2025||||
you've got it backwards - the server clock should be in UTC, and if an individual piece of software needs to know the location, that should be provided to it separately.

for example, I've got a server in my garage that runs Home Assistant. the overall server timezone is set to UTC, but I've configured Home Assistant with my "real" timezone so that I can define automation rules based on my local time.

Home Assistant also knows my GPS coordinates so that it can fetch weather, fire automation rules based on sunrise/sunset, etc. that wouldn't be possible with only the timezone.

jay_kyburz 10/27/2025||
I kind of assumed all computer clocks were UTC, but that you also specified a location, and when asked what time it is, it did the math for you.
pseudalopex 10/28/2025|||
Windows assumes computer clocks are local time. It can be configured to assume UTC. Other operating systems assume computer clocks are UTC. Many log tools are not time zone aware.
mrheosuper 10/28/2025||||
Computer clock is just counter, if you set the start counting point to UTC, then it's UTC, you set it to local time, then it's local time.
evil-olive 10/28/2025||||
that's the difference between "aware" and "naive" timestamps. Python has a section explaining it in their docs (though the concept applies to any language):

https://docs.python.org/3/library/datetime.html#aware-and-na...

TylerE 10/27/2025|||
AKA time zones
beejiu 10/27/2025||||
A server doesn't need to "know" where in the world it is (unless it needs to know the position in the sun in the sky for some reason).
prmoustache 10/27/2025||||
A server doesn't "think" and the timezone has no relevance to where it is located physically.
tonyarkles 10/28/2025|||
I'm not sure why you're getting downvoted.

Yes, that's exactly what I'm saying :). In fact, I've run servers where I didn't even physically know where it was located. It wouldn't have been hard to find out given some digging with traceroute, but it didn't matter. It was something I could SSH into and do everything I needed to without caring where it was.

Everyone else down-thread has clarified the why of it. Keep all of your globally distributed assets all running on a common clock (UTC) so that you can readily correlate things that have happened between them (and the rest of the world) without having to do a bunch of timezone math all the time.

katabatic 10/27/2025|||
Common, but not universal - from 2005 to as late as 2014 I worked for companies that used Pacific time on their servers.
inopinatus 10/27/2025||||
the standard for service providers was UTC in 1995
dmd 10/27/2025||
I have photos showing that my dad (born 1949, never in the military) kept his watch on UTC in the early 70s.
inopinatus 10/27/2025||
Would he by any chance refer to it as Zulu or Zebra time? The Z-suffix shorthand for UTC/GMT standardisation has nautical roots IIRC and the nomenclature was adopted in civil aviation also. I sometimes say Zulu time and my own dad, whose naval aspirations were crushed by poor eyesight, is amongst the few that don’t double-take.
hinkley 10/27/2025||||
I can’t quantify how much time my team wasted in diagnosing production glitches on checking the wrong time offsets but it was substantial. One of our systems wasn’t using UTC, and given enough time the fact that Slack wasn’t using it either does become an issue. When an outage transitions to All Hands on Deck everyone needs to get caught up to what’s going on preferably under their own power so you don’t suffer the Adding Resources to a Late Project problem.

So that first alert that came in ?? minutes ago you need to align with the telemetry and logs in order to see what the servers were doing right before everything went to shit.

Wowfunhappy 10/27/2025||||
What if it's your personal machine? I'm thinking about jobs I've set up... thing is, I actually do want those to align to DST in most cases. For example, ZFS scrub should start after I leave for work so that it has the greatest chance of being done by the time I get home. (It's too loud to run overnight.)
fiddlerwoaroof 10/27/2025|||
This shouldn’t be hard to deal with if the timestamp is always serialized with the offset: I’m much more picky about always persisting the offset than about always persisting UTC
lxgr 10/27/2025|||
Closely related pet peeve: Log display web UIs that allow selecting display timezones including UTC absolutely insist on deriving my preferred time format (12/24 hours) from my browser language preference.

If nothing else, selecting UTC should be a very strong hint to any UI that I am capable of parsing YYYY-MM-DD and 24 hour times.

skissane 10/27/2025|||
If you use <input type=time>, the browser uses locale or user regional preferences… even if the app is in an application domain (e.g. medicine, military, science) where 24h is preferred even in 12h-predominant locales. There is no way for the app to say to the browser “this time field should be 24h in all locales”, the only option is to build a custom time field

I asked the HTML spec editors to fix this, but thus far they haven’t: https://github.com/whatwg/html/issues/6698

o11c 10/27/2025|||
It gets worse.

Some browser APIs respect `LC_TIME`. Others say "fuck standards, I'm using `LC_MESSAGES`".

This means that if those locales differ about say, y/m/d ordering, it is quite possible for the way the browser formats a date to be different than the way it parses the date.

lxgr 10/27/2025|||
My issue is more with outputs than inputs (although the latter are also annoying to me in 12-hour format).
skissane 10/27/2025||
Operating systems generally allow user override of locale settings, and browsers generally respect that; I use a locale which officially has 12 hour time as its standard (Australian English), and I always override it to 24 hour time in user preferences (although Australia is rather inconsistent, e.g. in Sydney, train services use 24 hour time; in Melbourne, the metro trains use 12 hour time but the regional services use 24 hour time)
lxgr 10/27/2025||
Interesting, so you're saying that that OS-level time preference is available via JavaScript? I wasn't able to figure out how to query that in a little bit of trying, so I assumed there was no API for it.

If there actually is, I'm now even more upset at that log web UI.

skissane 10/28/2025||
Well, if you run this Javascript:

    Intl.DateTimeFormat([],{"timeStyle":"medium"}).format(new Date())
It should return the current time, formatted according to your locale and user preferences.

By contrast, this should return it formatted with the defaults for your locale, ignoring your user preferences:

    Intl.DateTimeFormat(navigator.language,{"timeStyle":"medium"}).format(new Date())
For me, the first returns 24 hour time and the second returns 12 hour time. Because 12 hour time is default for my primary locale (en-AU), but I override it to 24 hour time in my macOS settings.

I know the same works on Windows, and I’m sure it works on Linux too, just the way you configure it is different for each OS.

lxgr 10/28/2025||
> It should return the current time, formatted according to your locale and user preferences.

It does not for me! (I get 12 hour based time in Safari, Firefox, and Chrome, despite having 24 hours configured at the macOS system level.)

skissane 10/28/2025||
I have no idea what is going on then… works for me

maybe has something to do with OS or browser versions?

or maybe (for some reason) this works for some locales but not others?

booi 10/27/2025||||
That's interesting because I strongly prefer that timestamps are stored as UTC and converted to my timezone on the fly for easier debugging. I dunno about using the browser language choice (do sites really do this)? Usually a simple conversion with javascript is fine (javascript knows the local timezone).

A plus would be showing both.

spelk 10/27/2025||||
I would especially like to call out the Scandic Hotels chain for this behaviour as well. Booking a hotel room should not involve me wondering if I booked it for the wrong day when I'm not in an European time zone.
lxgr 10/27/2025||
My favorite example of that so far is the company that managed to shift my birthday by one day between their mobile and web apps.
webstrand 10/27/2025||||
That is the correct and only sane way to determine date format, timezone is not the same as formatting preference. But yeah it sucks. Assuming you're using the en-US locale, have you tried using the en-CA locale? It has ISO8601 formatted dates, and is otherwise pretty similar to the en-US locale.

In firefox you can try it out in about:preferences by setting en-CA as the topmost option in "Choose your preferred language for displaying pages"

And I just checked, firefox is capable of understanding system-wide split locale settings, if you only want LC_TIME

    localectl set-locale en_US.UTF-8
    localectl set-locale LC_TIME=en_CA.UTF-8
and dates will format, but currencies, addresses, etc will not
lxgr 10/27/2025||
> That is the correct and only sane way to determine date format, timezone is not the same as formatting preference.

That's unfortunate, but then wouldn't the sane way for localization-aware software be to ask the user and not make any such assumptions?

> Assuming you're using the en-US locale, have you tried using the en-CA locale? It has ISO8601 formatted dates, and is otherwise pretty similar to the en-US locale.

Thanks, I'll give that a try tomorrow! If my log exploring UI of, well, not quite choice actually respects that, I'll be very grateful :)

webstrand 10/27/2025|||
In a way it is asking the user. Date formatting rules are traditionally tied to locale, so the user picks their locale and their expected date formatting rules are derived from that.

On Linux you can mix and match via LC_*= environmental variables, but that appears to be complexity the browser vendors didn't expose in their UI.

int_19h 10/29/2025|||
> That's unfortunate, but then wouldn't the sane way for localization-aware software be to ask the user and not make any such assumptions?

The sane way for any localization-aware software is to use the standard knobs that the user already has for setting such preferences. Which would be the appropriate LC_* in Unix and the corresponding user settings on Windows/macOS.

silverwind 10/27/2025||||
You can blame the browsers on that one. There is now an API to determine hour cycles, but it's not even supported in all browser yet:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

xmilka 10/27/2025|||
Just a strong hint your fellow techdorks were being at work. Oh so clever, aren't they, always?
creichenbach 10/27/2025|||
That's still a bit risky as Arizona might just change its time zone definition on a whim. I'm an engineer on one of the big calendaring applications, and it's mind-boggling how often stuff like this happens world-wide, sometimes short-notice (a few weeks in advance). It regularly gives us headaches.
jaggederest 10/27/2025||
Agreed, watching the rate of changes to timezone databases will rapidly disabuse you of the notion of any constant. It's rare that a day goes by without an update to some definition somewhere, which is astounding.
nxobject 10/27/2025||
It might be instructive for PHBs to have a 'hasatimezonechanged.com' website counting the days since the last timezone DB change...
devsda 10/27/2025|||
Java allows setting the default timezone at jvm level and everyone in our org were setting their favourite TZ which was mostly PST somewhere in the code.

We had application logs and system level logs with different timestamp and someone decided a certain db column has to be a string of the format 'yyyy-mm-dd hh:mm:ss". You can imagine the confusion and the "fun" time we had while debugging logs from multiple systems at specific times.

Finally, one lead put their feet down and mandated that setting timezone to PST should be the first thing all applications do and db columns should be considered PST unless otherwise required.

skissane 10/27/2025|||
> Finally, one lead put their feet down and mandated that setting timezone to PST should be the first thing all applications do and db columns should be considered PST unless otherwise required.

That seems to me like a really bad mandate. If you are going to mandate something, mandate UTC. If someone forced me to change a system from UTC to something else, I’d not be very happy. It’s the kind of decision which makes you seriously question if you want to work there any more.

mulmen 10/27/2025|||
Does that mean you ran PST during daylight savings time and half the year your logs were “off” by an hour? Or did you actually run Pacific Time and deal with the clock changes twice a year?
dpoloncsak 10/27/2025||
Doesn't the JVM handle this when you set the tz? Otherwise...how is it different than just setting a clock?
array_key_first 10/28/2025||
They're two different timezones. One is a UTC offset and one is a dynamic timezone (DST).
latchkey 10/27/2025|||
Computers can do things. Build a UX to read the logs and have it automatically parse/convert the logs to show whatever is local time.

https://unix.stackexchange.com/questions/274816/how-to-conve...

jedberg 10/27/2025|||
There are many solutions, but when you're actually running a site with millions of daily visitors and one person focused on ops, you do the easy thing, not the right thing, unless those happen to coincide.
latchkey 10/27/2025|||
Sure... "I'm too busy fighting fires to come up with a solution" is always a valid answer, but that's not what I was replying to.
lxgr 10/27/2025||
Even with infinite resources (love to see that in real companies!), any such solution adds complexity, which comes at a cost.
latchkey 10/27/2025|||
If this is a complexity battle, I'd rather that sysadmins have to use a tool to read logs vs. figuring out why the server is melting down because all the jobs are running 2x or answering questions about why jobs didn't run at all.

In my old gig, jobs ran for many many HOURS and consumed most of the IO on the server (processing reams of data), which meant that when you got them running 2x because of overlap, it was a trainwreck.

lxgr 10/27/2025|||
In my experience, it's really not pleasant having to work with logs that require a dedicated viewer compared to regular old text files I can use Unix commands available everywhere (`tail`, `head`, `wc` etc), with, i.e. not just on the server producing the logs, but also the device I'm viewing them on.

That said, I absolutely prefer UTC times in logfiles. I'd rather do some math every time than make wrong assumptions about the local timezone of the file even once. (Even correctly indicated local times are more annoying, since I have the math for the offset of my timezone to UTC memorized, but not that of every possible server time to mine.)

latchkey 10/27/2025||
alias tail="my fancy log viewer tail wrapper"

https://thecasualcoder.github.io/tztail/

lxgr 10/27/2025||
That's exactly the type of thing I like to avoid having to do on some remote server, inside a container's minimal shell etc.
latchkey 10/27/2025||
If you're at that level, I'd be exporting the logs anyway.
munchlax 10/27/2025|||
Yup. There's always some kind of tool anyway so why not. I mean, even if you read the logs as they come out of a screaming line printer, the tool is the thing that takes log messages and spits them out the printer port.

How hard can it be to write a log cat utility in awk?

lxgr 10/27/2025||
Harder than not having to, in any case.
array_key_first 10/28/2025|||
Naively storing timezones also adds complexity, just later and probably someone else's problem.

Timezones are naturally complex. They just are. If you're not handling it, then your stuff is broken.

lxgr 10/28/2025||
This is a conversation about what timezone to configure on a server, no?

Of course all stored timestamps should include a timezone (assuming there's a local context to the events they refer to) if at all possible. I hope that part is not controversial.

taftster 10/27/2025|||
I mean, if this doesn't depict modern devops, I don't know what does. Unsung heroes, honestly.
ocdtrekkie 10/27/2025||||
The problem is a lot of times when you are looking at logs you are already very far off the happy path of things you look at often and want to invest resources into displaying well.
VintageCool 10/27/2025||||
Nooo... we have a bunch of metrics and logs reporting systems at my company. Some of them are in UTC, some of them display my local time, some of them display China Time, and I'm trying to collaborate with colleagues in London and Australia who get data displayed in their local times as well. When I'm working to address an incident and combing through multiple systems to try to correlate events, it's a pain in the ass having to constantly double-check which time zone this data is in.
mananaysiempre 10/27/2025||||
In my experience, the hard part is getting everybody else to do that. And then also getting them to actually include the timezone in their communication with you.
rconti 10/27/2025||||
I'd rather the logs be consistent, and not rely on every single person who ever looks at the system logs make sure to use the correct tool the correct way.
latchkey 10/27/2025||
If you'd rather the logs be consistent, then log to UTC.
lxgr 10/27/2025|||
> Computers can do things. Build a UX [...]

That sounds like a job for a human (at least the review part), not only a computer.

adzm 10/27/2025|||
> I didn't use UTC because subtracting eight when reading raw logs is a lot harder than subtracting one.

Also important here is that the date stays the same! Even though I've gotten used to instinctively decoding UTC, that part is still frustrating sometimes.

iamtedd 10/27/2025||
What about that one hour in the day when the date isn't the same?
gunalx 10/27/2025||
You probably aren't working that hour. (also way better than 8).
iamtedd 10/27/2025||
And the computer isn't doing anything interesting during that time? You're reading logs, not using the computer as a clock.
kjehjrktlhl 10/27/2025||
This is not smart, this is just surprising to the next person who is going to maintain your ”smart” tricks. Thank god they switched to utc, that is what everyone expect.
jedberg 10/27/2025|||
Actually, back then, 18 years ago, most people expected your servers to be in Pacific or Eastern time, depends on where your company was headquartered, because none of us really had global technical workforces back then. We all pretty much worked in one office and used the local time zone, because often our servers were in the building with us or in a datacenter nearby.

Case in point, before reddit I was at eBay, and we kept all those servers in Pacific time, since the entire technical workforce was in Pacific time, as well as all of the servers.

Making blanket statements like that without considering the context of the time is usually not a good idea. ;)

aerostable_slug 10/27/2025|||
> most people expected your servers to be in Pacific or Eastern time

I was there back then, working for shops people have heard of, and I honestly don't know where you're getting this idea from. Some places did things wild and wacky when they were wee small, but most of us quickly learned that such shenanigans (like fun server naming conventions) start to fall apart and maybe we should do things differently.

tedivm 10/27/2025||||
Using UTC for servers was standard when I entered the field in 2005.
latchkey 10/27/2025||
I was setting them to UTC in 1995.
fainpul 10/27/2025|||
Ah you think UTC is your ally? You merely adopted UTC. I was born in it, molded by it. I didn't see DST until I was already a man, by then it was nothing to me but blinding!
wpollock 10/27/2025||||
In the 1980s, PT and ET were common. I was working at Bell Labs then, and one of my jobs was to change the time zone (back then it was two words) on the testing machines, as needed. This is stuck in my memory since to change the timezone, you needed to edit the Unix kernel source code and recompile it!
whstl 10/27/2025|||
2000 for me. That was the first time I had users from outside my own time zone, so I figured it was better to just use UTC for everything and just convert depending on the user's settings. I think I just applied the thinking to the whole server.
latchkey 10/27/2025||
This is the way.
derwiki 10/27/2025||||
Yelp servers were set to Pacific time when I started in 2009, probably a decision from 2004
frenzcan 10/27/2025||||
I run into this a lot when working with legacy code. The first reaction most teams have is to mock it, not understand it.
JohnBooty 10/27/2025||||
Everybody's dunking on you here but yeah, circa 18 years ago I remember that setting servers to local time was still pretty common.
latchkey 10/27/2025|||
It only matters if the servers were running cron jobs where it mattered if they ran "not at all or 2x."

Logs with weird dates on high demand production servers... less important.

dang 10/27/2025||||
Can you please make your substantive points without swipes? This is in the site guidelines: https://news.ycombinator.com/newsguidelines.html.
amaccuish 10/27/2025||||
I believe it was an anecdote and not a recommendation.
stronglikedan 10/27/2025||||
It was probably the smartest option at the time, given the context. As long as it was documented properly, no one on such a small team would have been surprised. Spend more than the 30 minutes you've spent here on HN so far, and you may learn a thing or two about what is "smart", and how that is inextricably linked to the given situation.
adzm 10/27/2025||||
Sounds like it was smart at the time, and then eventually outgrew the solution.
embedding-shape 10/27/2025|||
If you're like 5 people, each with a list of TODOs that doesn't fit on one screen, it's pretty smart to just do something quick and good enough, then move on, revisit it in the future.
sfn42 10/27/2025||
"revisit it in the future" is exactly the reason your TODO list keeps growing rather than shrinking
TylerE 10/27/2025||
Nice when the company lives long enough for that to be an issue
sfn42 10/28/2025||
Yeah, as we all know the startup is the only type of software company in existence and the best way to ensure the startup's success is to act as if it won't exist next week.
noir_lord 10/27/2025||
I worked at a place that had set the servers to BST not UTC and used cron jobs extensively for reporting, which caused chaos twice a year and twice a year they had to explain to the business again why it caused chaos and ask for the time to fix it.

Company went bust before it got fixed.

Just use UTC folks unless you have a really good idea why you shouldn't.

yabones 10/27/2025||
I put a little analog clock on my desk that's set to UTC time. It helps a lot with converting logs to get a quick reference.
schraitle 10/27/2025|||
I have a piece of paper on my desk, each side has the time zone, utc offset, and date when DST will change. Twice a year I flip over the paper.

Right now it reads "EDT, UTC-4, until: Sun, Nov 2"

Going to add a clock next to it now, that's a great idea

vdm 10/28/2025|||

  $ zdump -Vc 2025,2026 America/New_York
  America/New_York  Sun Mar  9 06:59:59 2025 UT = Sun Mar 9 01:59:59 2025 EST isdst=0 gmtoff=-18000
  America/New_York  Sun Mar  9 07:00:00 2025 UT = Sun Mar 9 03:00:00 2025 EDT isdst=1 gmtoff=-14400
  America/New_York  Sun Nov  2 05:59:59 2025 UT = Sun Nov 2 01:59:59 2025 EDT isdst=1 gmtoff=-14400
  America/New_York  Sun Nov  2 06:00:00 2025 UT = Sun Nov 2 01:00:00 2025 EST isdst=0 gmtoff=-18000

  $ zdump -Vc 2025,2026 Europe/London
  Europe/London  Sun Mar 30 00:59:59 2025 UT = Sun Mar 30 00:59:59 2025 GMT isdst=0 gmtoff=0
  Europe/London  Sun Mar 30 01:00:00 2025 UT = Sun Mar 30 02:00:00 2025 BST isdst=1 gmtoff=3600
  Europe/London  Sun Oct 26 00:59:59 2025 UT = Sun Oct 26 01:59:59 2025 BST isdst=1 gmtoff=3600
  Europe/London  Sun Oct 26 01:00:00 2025 UT = Sun Oct 26 01:00:00 2025 GMT isdst=0 gmtoff=0
ponector 10/27/2025|||
And then with distributed team you realize DST change dates are different around the globe.
pseudalopex 10/28/2025||
Desks around the globe can have different pieces of paper.
ZeWaka 10/27/2025||||
Analog clock is a great idea. I just use the Windows multiple timezone clocks feature, but I can see the usefulness of being able to glance at UTC.
theandrewbailey 10/28/2025||
I did this back when I used Windows. I suppose I'll have to add multiple clock widgets to my XFCE panels to get the same effect.
1-more 10/27/2025||||
Expense a Rolex GMT Master or Sky Dweller. Tell your boss I said it was necessary!
lozf 10/27/2025||||
Perhaps a shell alias for:

TZ="Etc/UTC" xclock -analog -update 1 -norender -hl grey -fg grey -bg black

(or similar) would also suffice.

derwiki 10/27/2025||||
I do the same! I am in PDT and keep a UTC and EDT clock (most of my team is east coast)
gtowey 10/27/2025||||
I really love this idea!
walthamstow 10/27/2025|||
One of the great things about living at 0 latitude is it's UTC half the year
noir_lord 10/27/2025||
Did you mean longitude?
walthamstow 10/28/2025||
Yes, thanks. Having a baby will play havoc with your brain.
ta1243 10/27/2025|||
If I want a report of what happened at a specific time I need that report at local time

I get a daily status report of various things from our 24 hour operational management team which runs at 8am UK time every day. That means last week it ran at 0700UTC and this week at 0800UTC

This is built around operational events, shift changes, etc.

I've got another system which is in operation in Sydney from 0630 to 1630 local time, this means that maintence windows which overlap with UK shift patterns depend on the week but mean the system is operating 2130-0730 UK time at some times, 2030-0630 UK at others, and 1930-0530 at others.

UTC is not "the answer". Sometimes you want things running at a UTC time, sometimes you want them running at local time.

I have a regular meeting at 10am London time on Tuesday and Thursday. That can't be stored in UTC as it varies depending on the time of the year. It has to have the timezone stored and actioned.

latchkey 10/27/2025|||
You can tell the job when to run in UTC time and change that time depending on what the current DST rules are.

But if the job is set to run in UK time and the system clock jumps around because of TZ changes, it will run twice or not at all.

Having a stable zero based time that doesn't move around by external forces that you can't control is "the answer."

ta1243 10/27/2025||
So I have to manually update the job

How about I use some form of library to do it. I tell it I want to run at 0800 London time, and it runs at 0800 London time

If I tell it I want to run at 0130 London time (or 0330 Athens time) I still have a problem -- do I run it twice when the clocks go back, do I skip it when clocks go forward?

But that's a business logic problem, and defining it as UTC and having another job to update the time twice a year doesn't actually solve the question of "what do I do at this point".

latchkey 10/27/2025|||
You don't have any choice in the matter. If you control the time you want the jobs to run externally from the server, then you can have control over it. Otherwise, you're getting jobs that run 2x or not at all.
ta1243 10/28/2025||
No matter where you run the job from, you run it in the required timezone, not UTC, and you still have the issue with what to do with the change in the local timezone.

This isn't a problem that can be solved with a single technical solution.

ipaddr 10/27/2025|||
Generate earlier and send to various timezones when needed.
baq 10/27/2025|||
I agree with most everything except:

> If I want a report of what happened at a specific time I need that report at local time

this is hard when a particular hour can happen twice in a day right?

ta1243 10/28/2025||
It certainly is, but that's a business question, not a technical question

If the business requires it to run at 01:30 and there are two per day, or zero per day, then the business rules needs to define what happens. You can't solve this by running it at UTC.

baq 10/28/2025||
Technically correct, but the business needs to be aware and a solution needs to be proposed beforehand IME. UTC is such a solution, imperfect, but usually workable. Business rules are sometimes unexpectedly elastic when confronted with a particularly explosive mix of logic and legislation.
lxgr 10/27/2025|||
"Our customers aren't in UTC" is often a compelling reason.

People generally expect things like usage limits to reset overnight, not at UTC midnight, and these are often implicitly tied to (the result of) batch jobs.

Financial jobs, including billing, is another big category.

freedomben 10/27/2025|||
Having tried many times to use local time instead of UTC to make life simpler for myself, I really don't think it's ever a good idea.

Better to localize times for users on the client-side based on their local settings, IMHO

For quotas and usage limit resets it can be a little harder, but if it's a cron job anyway, my initial approach would be to just schedule it for a time that is close to midnight for the area your customers are in.

skissane 10/27/2025||||
> "Our customers aren't in UTC" is often a compelling reason.

This doesn’t work as soon as you become a global business… because if you tell a customer in Asia that it resets at midnight in some US timezone, what are they going to think?

Many people will accept UTC because it is the international standard. Everyone will accept “let each customer pick the timezone that works best for them”. Saying “I’m going to use a US timezone because that is easiest for our US customers” risks sending a message to your (now or future) global customers that you view them as second-class citizens.

lxgr 10/27/2025||
Really depends on your market and customers. Especially in the financial industry, local time zones (often of a given currency's central bank's main branch, a primary regulator etc.) are often very, very entrenched.

> Many people will accept UTC because it is the international standard.

I really wish that were true universally...

And I do think that UTC is actually somewhat Eurocentric! From personal experience, it's significantly easier to mentally add/subtract one or two hours (modulo 24) than 7 or more.

> Saying “I’m going to use a US timezone because that is easiest for our US customers” risks sending a message to your (now or future) global customers that you view them as second-class citizens.

Definitely, but on the other hand, I do think that picking your head office's time zone as the "canonical" one for resetting quotas etc. has some merit as well, if only because it makes the concepts of "today" and "tomorrow" work a bit better. (UTC midnight might be very unintuitive to both you and your customers.)

skissane 10/27/2025||
> Definitely, but on the other hand, I do think that picking your head office's time zone as the "canonical"

What happens when you move your head office to a different time zone? e.g. Oracle moved their HQ from California to Texas (and have announced a further move to Tennessee, although last I heard that still hasn’t happened)

What happens when an M&A happens and you are now part of a much larger enterprise with a different HQ timezone, and systems with wildly inconsistent configured timezones due to having acquired multiple companies which had HQs in different time zones and all of which configured everything to use their HQ time?

> UTC midnight might be very unintuitive to both you and your customers

I live in eastern Australia, UTC+11 at the moment (UTC+10 during Southern Hemisphere winter). Right now, resetting stuff at UTC midnight means at 11am my time, resetting stuff at US Eastern midnight means at 3pm my time - roughly equal in potential inconvenience, but I’ll be much more forgiving of the first than the second.

> And I do think that UTC is actually somewhat Eurocentric! From personal experience, it's significantly easier to mentally add/subtract one or two hours (modulo 24) than 7 or more.

For me, add/subtract 10 is pretty easy… and then just one more during DST. Does that make UTC “Australia-centric”? Or Guam-centric or Vladivostok-centric? (both of which are also UTC+10)

Kwpolska 10/27/2025||||
That does not require setting the server to local time. Run the cron job every hour. Before starting the script, check the time and compare it to the last saved execution time. If the day has changed, do stuff and save the new date, else exit. This also happens to be more resilient to server downtime around midnight.
lxgr 10/27/2025|||
> Before starting the script, check the time and compare it to the last saved execution time. If the day has changed, do stuff and save the new date, else exit.

That sounds a bit like reimplementing a scheduler inside the scheduled task (which is ok if you don't trust your scheduler, but I'd avoid it if at all possible).

bell-cot 10/27/2025|||
Except downtime can start during execution. So for many types of jobs...

- Check if run today, exiting on "yes"

- Run

- Update the last-run-on date

latchkey 10/27/2025||
What is "today"?
bell-cot 10/27/2025||
Hopefully just a datetime recent enough that the job does not currently need to be (re-)run.

But as soon as one job needs another to complete first, or two jobs shouldn't be run at the same time - things start getting messy.

lxgr 10/27/2025||
> Hopefully just a datetime recent enough that the job does not currently need to be (re-)run.

I can think of several ways to mess that seemingly trivial calculation up just from the top of my head. (Consider changing timezones, increasing the interval the job is running to within half a day of scheduling period etc.)

latchkey 10/27/2025|||
Always set the servers to UTC. Convert the time to local time for display, but store in UTC.

The reporting job should be run from a server on UTC and on UTC time. The report itself can convert to whatever is local time.

gruez 10/27/2025||
That doesn't fix the problem of "my quota reset (or reporting job) gets shifted by 1 hr when daylight saving time changes".
latchkey 10/27/2025|||
The reporting job should be run from a server on UTC and on UTC time. The report itself can convert to whatever is local time. This is exactly what I said above.
lxgr 10/27/2025||
That works if all your consumers of the report are indifferent to it arriving at a different time half of the year.

All of yours might well be, but you can't generalize that assumption to every domain and scenario.

ipaddr 10/27/2025|||
If you want an email of the report to send out at 9am locally. Generate before and send to everyone based on timezone.
gruez 10/27/2025|||
> Generate before and send to everyone based on timezone.

How are you going to do this? Clearly cron (with timezone set to UTC) doesn't work for this so you'll need another system. In that case why not have that multi-time zone scheduling system run your script?

kjehjrktlhl 10/27/2025|||
You don’t want a report to include 25h or 23h twice a year just to be able to send it at some distinct local time.
lxgr 10/27/2025|||
I absolutely want some daily business reports to cover 25 hours on one day of the year and 23 on another, since that's how long a calendar day is in local time in every place that has DST shifts.
lenzm 10/27/2025|||
Yes, that's exactly what I want. Everything shifts with dst - business processes, people's working hours, ach windows, ...
latchkey 10/27/2025|||
The report can run at whatever time you want it to run at. But this solution solves the issue of the report running 2x or not at all.
ranger_danger 10/27/2025||||
You could have the reset script check the timezone of the user before actually performing the reset, and have this script run at least once an hour to make sure you get close to accurate for most people (some timezones only differ by less than an hour though!).

But also, if the user can change the timezone themselves, now you have a condition where the user could keep their quota at bay for a very long time (if not forever) if they keep changing their timezone accordingly.

cweagans 10/27/2025||||
Do you actually care if the requests were made on some specific calendar day? Or do you just want to make sure that heavy users are paying more and/or people aren't abusing your system?

Instead of tying your quotas to calendar days in some specific time zone, tie them to a rolling 24 hour usage period. Even better: use a rolling hour.

throwaway150 10/27/2025|||
> That doesn't fix the problem of "my quota reset (or reporting job) gets shifted by 1 hr when daylight saving time changes".

How hard is to convert the UTC time to user's local time and perform quota reset?

I mean you should be doing this anyway. Even if you store everything in PST or EST or CST, you never know when you'll get customers from another part of the world and then you'll have to do this anyway. So why not do this already?

gruez 10/27/2025|||
>Even if you store everything in PST or EST or CST, you never know when you'll get customers from another part of the world and then you'll have to do this anyway. So why not do this already?

1. allowing users to change their timezone and tying it to when their quota reset sounds like a great way to add more edge cases and complexity. For instance, does messing with your time zone mean you can get your quota reset multiple times a day?

2. Not everyone operates some sort of global b2c SaaS that's timezone agnostic. For many enterprise backoffice tasks "6am HQ time" is far more reasonable than "6am/7am, dunno depends on whether daylight saving time is on or not". In this case having a server set to the HQ's timezone makes far more sense than doing UTC and trying to work around daylight saving issues.

lxgr 10/27/2025|||
> How hard is to convert the UTC time to user's local time and perform quota reset?

Probably roughly as hard as writing a timezone-aware scheduler that considers all edge cases around daylight savings time, i.e. probably possible but I'd try fairly hard to see if I can get around it.

One way of getting around it is to run your batch jobs in your "primary business timezone". Sure, you might outgrow that concept eventually, but many companies never do, and in that sense "running on UTC" seems similarly aspirational in spirit (albeit at a much smaller scale) to starting with high scalability.

jacobsenscott 10/27/2025|||
Also don't use cron full stop. Build (or use an off the shelf) scheduler in your app that's more sophisticated, has access to data and client preferences, etc.
nodesocket 10/27/2025|||
I use UTC for all public/production servers, but for my homelab servers in my closet rack they all use local time. Makes grokking times in homelab servers much easier. The exception is database insert/update date/times which are always stored UTC.
latchkey 10/27/2025|||
At Marin Software, they ran each customer on their own set of servers and set the servers to the customers defined TZ. It was an endless cronjob nightmare. Now they are also bankrupt.

Just found out some guy decided to try to restart the company. Good luck. https://x.com/Austen/status/1981904435539280324

SecondHandTofu 10/27/2025|||
Generally, yes but I there's a surprising amount of cases when it is important, which makes it difficult to generalise e.g. Huge amounts of the financial sector cares because of market times or regulatory reasons.
jedberg 10/27/2025||
> Just use UTC folks unless you have a really good idea why you shouldn't.

If my whole team is based in Pacific Time, I'm gonna use something close to PT so I don't have to do hard math when reading raw logs.

If we're all US based, I still want something in the USA. The math is easier.

kjehjrktlhl 10/27/2025|||
Technical debt. Please don’t.
jrockway 10/27/2025|||
Yeah. I log in json + unix timestamp nanoseconds, and just convert it to something human-readable on display (github.com/jrockway/json-logs). I am not sure why logs need to be "pretty" at time of logging when they can be made pretty at time of display. Doing it at time of display means you can just use local time, and then nobody is confused.
jedberg 10/27/2025|||
[flagged]
throwaway150 10/27/2025|||
> Who hurt you?

Nobody hurt them. Please don't do this kind of childish rebuttals. It looks really silly on HN. If you don't want to use UTC, that's one thing. You do you. But there are reasons for sane professionals (who weren't hurt by anybody) to expect their coworkers to use UTC when possible. Because using local timezone leads to some problems including the one in TFA.

anonymars 10/27/2025||||
I find all the holier-than-thou UTC worship especially ironic given that this post is about recurring scheduled tasks, for which naïve UTC almost never provides the expected results

UTC is the right choice for representing specific moments in time (so yes, log timestamps) but there are so many pitfalls outside of that narrow use case

hobs 10/27/2025|||
Well me, I have been burned by fixing this UTC bug at like 8 companies and overall more than four year of my life (between other things, each project took at least six months of people poking at things) because at an eventual scaling point it starts biting your ass everywhere in every service.

Just because it worked once doesn't mean it's good.

onraglanroad 10/27/2025||||
Hard math. Ah right, I think it's not till the third year of a mathematics degree that you deal with "subtracting 8"! :)
jedberg 10/27/2025|||
Don't forget changing the day 1/3 of the time. But more importantly, if I'm scrambling to solve an incident, the last thing I want to do is deal with time conversions in my head.
onraglanroad 10/27/2025||
You just do it once and think in UTC going forward. But as I said to the other person, if you're only dealing with one timezone it's fine, just when you have multiple it's a lot easier to just deal with one time and let everyone convert.

I'd expect everyone who works in computer related jobs to know their UTC offset.

BenjiWiebe 10/27/2025|||
I'm able to subtract 8, but if I'm scanning logs it's one more thing to process.

If it's local time I know instantly when something happened, without having to do mental math.

Is there anything wrong with ISO8601 (including timezone offset) for storing times? They're in my local time, but they can be accurately converted to any other timezone.

onraglanroad 10/27/2025||
No problem as long as it's all local, but it's a big annoyance to the other teams if I'm trying to coordinate with the West US team who're on PT, the East coast on ET, Europe on CET, India on IST, Australia on BBQ...

It's just easier for everyone if we agree on UTC and everyone knows their own offset.

adammarples 10/27/2025||||
Why not just store everything utc but add a local time to the logging along with it?
jedberg 10/27/2025||
Nowadays you could probably pull that off, most tools support quickly changing the time on the fly.
joeiq 10/28/2025|||
`date -u` gives you current UTC time when the arithmetic trips you up.
cuu508 10/27/2025||
Apparently there are some timezones (Cuba, Egypt, Lebanon) where DST change happens at midnight, so, also watch out for that!

https://mas.to/@mpirnat/115395859892135002

cesarb 10/27/2025||
Wait, are there timezones where the DST change doesn't happen at midnight? That's news to me.

Now this article makes sense to me; I was wondering what made 02:00 and 03:00 special, since the DST changes would be from 00:00 to 01:00 and from 00:00 to 23:00, as I'm used to since childhood here in Brazil. Perhaps some other countries change DST from 02:00 to 03:00 and vice versa?

aflag 10/27/2025|||
In the UK we move forward at 1am and they go backward at 2am. Doing it at midnight adds the extra complexity that now the day is different. Doing it in the early morning doesn't change the day.

My guess is that in the US they do the same but shifted by one.

jasongill 10/27/2025||||
In the United States, we go from 1:59am to 3:00am in March, and from 1:59am to 1:00am in November for our time change.
maratc 10/28/2025||||
Most timezones change time when there's a minimal amount of people working, as these people would have to work an extra hour, and doing it at around 3am is the most reasonable from that point of view.
dist-epoch 10/27/2025|||
All of Europe changes from 02:00 to 03:00
lozf 10/27/2025||
Better to think of it that it changes at 01:00 UTC, which takes care of the parts of Europe that are 2 or 3 hours ahead (instead of CET's 1 or 2), and the UK going "forward at 1 and back at 2"

"Europe DST changes at 01:00 UTC" - much simpler ;)

latchkey 10/27/2025||
There are TZ rules that do all sorts of wild things.
noir_lord 10/27/2025|||
Leading to my favourite web comic of all time.

https://www.monkeyuser.com/2018/going-global/

Monkey User is always entertaining.

baq 10/27/2025||||
Is there any other person other than Arthur David Olson who needed an RFC written to cover their retirement?

https://www.rfc-editor.org/rfc/rfc6557.html

rmccue 10/27/2025||
Jon Postel, the original RFC Editor and IANA: https://www.rfc-editor.org/rfc/rfc2468
wat10000 10/27/2025||||
Brazil not only had DST at midnight, but until 2008 they also had no standard rule for when DST would begin and end, setting the dates by decree often just a few weeks in advance.
1-more 10/28/2025|||
Kind of funny that it went from a Ramadan model to an Easter-post-computus model

https://en.wikipedia.org/wiki/Ramadan#Beginning https://en.wikipedia.org/wiki/Date_of_Easter

spogbiper 10/27/2025|||
https://www.timeanddate.com/time/time-zones-interesting.html

I wonder how on earth do you deal with a 30 or 45 minute offset in real life

sedatk 10/27/2025||
Redundantly running cron jobs are the least of our problems. Daylight savings adjustment day causes surge in deaths and ER visits[1]. Daylight savings needs to go.

https://www.sciencealert.com/daylight-savings-time-change-ki...

ckastner 10/27/2025||
This was worked around ages ago in OpenBSD, and the workaround was already included in Debian (and by extension, Ubuntu) when I started maintaining it in 2010 (I no longer do).

Here's a link to a patch [1] from a version from when the package still kept standalone patches.

It's been a long long time and I honestly don't remember the details, but Debian's cron(8) still says [2]: Special considerations exist when the clock is changed by less than 3 hours, for example at the beginning and end of daylight savings time. If the time has moved forwards, those jobs which would have run in the time that was skipped will be run soon after the change. Conversely, if the time has moved backwards by less than 3 hours, those jobs that fall into the repeated time will not be re-run.

Edit: According to this bug report [3], this workaround first entered Debian in 1999.

[1]: https://sources.debian.org/src/cron/3.0pl1-137/debian/patche...

[2]: https://manpages.debian.org/unstable/cron/cron.8.en.html

[3]: https://bugs.debian.org/8499

silverwind 10/27/2025|
So we can assume the author was not running a distro that had "fixed" the issue?
ckastner 10/28/2025||
Most likely, yes. The author mentions vixie-cron, which was the name of the project before Paul Pixie joined/founded(?) ISC, and it was released as ISC from after.

Debian's fork is still based on vixie-cron, but it couldn't have been the one because of the aforementioned patch.

gadders 10/27/2025||
Also, never set jobs to run at midnight (00:00) as nobody will be able to tell what day it is. Set it to 00:01 or something.

And tbh, don't run jobs on the hour anyway. Everything kicks off then. Set stuff to run at 01:45 or 02:15 or something instead.

(None of these suggestions are time change related)

tetha 10/27/2025||
In general I try to use odd times for cronjobs. Backups starting at XX:13, analysis scripts at XX:23, data exports at XX:42 and so on. This simplifies the question of "Why does my system go whack at 23:23? Oh, wait".
kibwen 10/27/2025|||
With enough precision in your timestamp, you can base-10 encode arbitrary binary data and shove it in your nanos for debugging.
ksenzee 10/27/2025||||
This is a great tip. One of our QA engineers noticed recently that a particularly difficult-to-reproduce bug was affecting records saved at :21, which is when a particular cronjob hits. Without that extra info we’d probably still be scratching our heads over it.
gadders 10/28/2025|||
That's a good idea.
ericpauley 10/28/2025||
Honestly haven’t seen 00:00 cause confusion outside of “dog ate my homework” scenarios. If you’re using 12h clock then clearly it’s a bigger issue.
tanin 10/28/2025||
The details I never really thought about until I encountered timezone issues was:

There are points in time that don't exist, and there are points in time that are ambiguous.

If we adjust the time forward by 1 hour, then then 2:30am doesn't exist. If we adjust time backward, then 2:30am is ambiguous.

2am-3am is only safe for certain countries.

America/Santiago (Chile), for example, adjusts their daylight saving on midnight. On a certain day, midnight doesn't exist because it immediately jumps to 1am. If you are building an analytics chart by day, you will encounter this issue. I wrote about several weird time zone edgecases here: https://tanin.nanakorn.com/edgecases-for-timezones/

To add more confusion, IIRC Java and Ruby handle these cases differently where Ruby raises exceptions (e.g. InvalidTime and AmbiguousTime) but Java doesn't.

I caused 3 incidents in a row at Stripe in my first month because of this. I thought I was gonna be fired. Luckily I wasn't...

ldoughty 10/27/2025||
I try to avoid crons at the top of the hour, partly because of this... but also because (in shared / serverless infrastructure) I assume a lot more people are setting their crons for 'on the hour' so there's more resource contention... I also aim for 'after 4am' where I can as well, or 'before midnight', to avoid this whole range.
sgc 10/27/2025||
To incrementally improve that tactic, systemd has RandomizedDelaySec, which is a convenient way to reduce the possibility of scheduling conflicts.
tetha 10/27/2025||
I prefer to combine this with FixedRandomDelay=true. FixedRandomDelay ensures that the randomized delay is an arbitrary number up to RandomizedDelaySec, but it is deterministic per server and timer. I find this useful because this means the timer will always run at XX:12:45 on server01, always run on XX:06:23 on server02 and so on.

This combines very simple configuration, while being predictable and spreading out timers well.

layer8 10/27/2025||
One trick for cron is to prepend the actual command in the crontab with something like

    sleep $(( $(od -N1 -tuC -An /dev/urandom) % 60 ))m ;
which will delay it by 0 to 59 minutes at random.
PhilipRoman 10/27/2025|
I read this a while ago and was looking forward to the mess that would happen with these default Alpine configurations (after setting non-UTC localtime)

    0 2 * * * run-parts /etc/periodic/daily
    0 3 * * 6 run-parts /etc/periodic/weekly
It appears that busybox cron is smart enough to handle it and only ran the jobs once.
latchkey 10/27/2025|
Google's AI and ChatGPT answer disagrees.

https://www.google.com/search?q=busybox+cron+dst

"BusyBox’s crond is a lightweight implementation designed for embedded systems, so it doesn’t have all the timezone/DST logic of full vixie-cron or cronie. It just reads /etc/TZ or the system timezone at startup and then wakes up every minute to check if something should run."

PhilipRoman 10/27/2025|||
https://github.com/mirror/busybox/blob/master/miscutils/cron...
moderateclimate 10/28/2025|||
Please don't do this. AI is not a source and is frequently wrong (as it is in this case).
latchkey 10/28/2025||
You're right. It was honestly just a low effort semi-sarcastic reply that I wasn't really expecting anyone to take seriously. I should have just gone and read the source code as PhilipRoman did below.
More comments...