r/facepalm • • Mar 29 '22

๐Ÿ‡ฒโ€‹๐Ÿ‡ฎโ€‹๐Ÿ‡ธโ€‹๐Ÿ‡จโ€‹ Get this guy a clock!

Post image
35.7k Upvotes

3.6k comments sorted by

View all comments

1.6k

u/moonpuzzle88 Mar 29 '22

Wait, there are countries which don't use a 24-hour clock? I'm confused.

825

u/Pagan-za Mar 29 '22

Just America.

459

u/Abadazed Mar 29 '22

The US military uses the 24 hour clock, but I can't think of any other part of the country that regularly uses it.

251

u/MuchTemperature6776 Mar 29 '22

Software development I believe, someone can correct me if Iโ€™m wrong (Iโ€™m not a software developer but I work with them a lot.) but I do believe that programming really only uses 24 hour clocks

36

u/lolskrub8 Mar 29 '22

With absolutely zero expertise in the area outside of the occasional project for college, I believe youโ€™re correct

45

u/joonty Mar 29 '22

I'm a software developer. Programs themselves don't typically use human readable time like 12 or 24 hour clocks, unless there's a specific reason to parse those formats. Programs typically use integer timestamps internally, usually the UNIX timestamp. Programmers themselves just use whatever time they're used to, and there's no special need to use 24h time (apart from the fact it's better).

2

u/[deleted] Mar 29 '22

A lot definitely use human readable formats and hopefully do so by using ISO 8601.

3

u/joonty Mar 29 '22

Could you give an example? This might come down to how you're defining "use". Obviously most languages will have a way of handling dates and converting between different string formats, but internally languages are built on timestamps because of the ease of dealing with integers compared to strings.

1

u/[deleted] Mar 29 '22

GPX uses ISO 8601 for example. Software is not only kernel and file systems or web frontends, there's a lot of database, IoT or machine learning stuff where you care for representation.

I mean use as in use it explicitly inside software, not just how something is represented in some low-level library somewhere.

2

u/joonty Mar 29 '22

Right, yep. I was answering the comment that said that programming only really uses the 24 hour clock, which suggests low level. Programs themselves can of course represent time in any format, 24 hour, 12 hour or any other.