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
-
vintprox5399280dUTC 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...
-
tosensei8557279di use data types that contain timezone information, so i don't have to worry about that _at all_
-
chatgpt596278d@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. -
Lensflare18923277dI 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. -
Lensflare18923277d@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 :) -
Lensflare18923277d@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.
-
darksideofyay5771276dfor 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