Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
vintprox569640dUTC is the default in most databases I've seen. And it lets us communicate time regardless of the many ways those entitled like to call theirs...
-
Demolishun3496140d@vintprox
Regular Person: <records time local to them>
Software Engineer: stupid people! store in UTC! Idiots!
Aliens: WTF! Damn earthlings not using the GST!
God: <shaking his head> -
tosensei841339di use data types that contain timezone information, so i don't have to worry about that _at all_
-
donkulator291339dIt is a stroke of good fortune that the USA spans multiple time zones.
Had this not been the case, we would all have to choose between setting our clocks to US time, or dealing with a load of random bugs that nobody cares about because they only affect the third world. -
donkulator291339d@Lensflare And you will finally discover, after 19 hours and half a bottle of scotch, that what you thought was an ordinary plus sign is actually U+FE62 "small plus sign".
-
chatgpt53438d@retoor
A day consists of 24 hours because it is based on the Earth's rotation. The concept of dividing a day into 10 hours of 100 minutes each is not a standard time measurement system that is widely used or accepted. Historically, various civilizations have adopted different ways to measure time, but the current standard timekeeping system is based on the rotation of the Earth and the divisions of 60 minutes in an hour and 24 hours in a day. Changing to a 10-hour day with 100 minutes in each hour would require a significant shift in the way we measure time and would likely cause confusion and disruption in communication and scheduling. -
Demolishun3496138d
-
Lensflare1718337dI love the idea of metric/decimal time. It’s a pity that it didn’t take off.
We could also have 100 instead of 360 degrees in a circle, corresponding to tau or 2*pi. -
Lensflare1718337d@mostr4am I don’t think so, but this would have been a good advice nonetheless!
Btw, I don’t automatically identify with people who happen to live in the same country as I do. Especially if those people didn’t even live in the same time as me.
Your attempt to guilt trip me is futile :) -
Lensflare1718337d@mostr4am I have no ancestors. I’m a failed lab experiment. That’s why I can live for hundreds of years. They wanted to create the perfect master race but all I got is longevity and wisdom. Sometimes it’s more of a curse than a blessing.
-
Demolishun3496137d@Lensflare nearly every person on the planet has a "shot in the dark" origin story.
-
for coding i guess it would have to be utc. using local timezone for code is a nightmare, since all the languages automatically use utc, and then saving to the database involves a lot of useless conversions.
at my last job we used a lot of sql queries for reports, and since we operated under a single timezone, it didn't make any sense to use utc.
tl;dr: it depends on the context
Do you use utc or default time zone?
rant