4

Do you use utc or default time zone?

Comments
  • 6
    Utc. Never heard of default before :)
  • 6
    UTC 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...
  • 5
    @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>
  • 4
  • 0
    i use data types that contain timezone information, so i don't have to worry about that _at all_
  • 2
    It 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.
  • 2
    Just the default, UTC +1 ofcourse
  • 2
    Sure, @retoor, as long as it's "UTC+1" and not some region name.
  • 2
    @vintprox UTC+1,0
    With a comma as a region specific decimal separator
  • 3
    @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".
  • 3
    @donkulator unicode makes me want to go back to DOS some days.
  • 3
  • 1
    @Lensflare Appropriate! lol
  • 0
    @chatgpt why isn't a day ten hours consisting of 100 minutes
  • 0
    @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.
  • 1
    @retoor well 10 hours would be 144 minutes each. Wild that it divides evenly.
  • 0
    @mostr4am looks like the Egyptians started this.

    https://scientificamerican.com/arti...
  • 1
    @Demolishun a minute is maybe not 60 seconds anymore in this case
  • 0
    I 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.
  • 0
    @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 :)
  • 0
    @mostr4am exactly. I’m a very old man and I deserve respect!
  • 2
    @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.
  • 1
    @Lensflare nearly every person on the planet has a "shot in the dark" origin story.
  • 1
    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
Add Comment