3 ms·
> The people who operate this machine years in the future will read a date on a log file or database table and make decisions that could affect the lives of mil
by lmm 7y ago
> The people who operate this machine years in the future will read a date on a log file or database table and make decisions that could affect the lives of millions of people, all of whom live in the same time zone with said machine.
They live in the same time zone now. What makes you so sure it will be the same time zone for the lifetime of the machine? More insidiously, what makes you so sure that that timezone's DST rules won't change, leading to timestamps that are correct half the year and then almost, but not quite, correct the other half of the year? Or worse, that are correct for 50 weeks of the year and then out by an hour for 2 weeks a year because the DST change date got moved?
Better to use UTC and get those operators in the habit of converting every time.
- pstuart 7y ago> Better to use UTC and have their tools translate at display time FTFY