r/ProgrammerHumor • • Feb 09 '18

Timezone Support

Post image
31.3k Upvotes

532 comments sorted by

View all comments

2.6k

u/[deleted] Feb 09 '18

A mean Martian solar day, or "sol", is 24 hours, 39 minutes, and 35.244 seconds.

The length of time for Mars to complete one orbit around the Sun is [...] about 686.98 Earth solar days, or 668.5991 sols.

Imagine how actually terrifying it would be to properly implement and support this and keep it in tune.

0

u/[deleted] Feb 09 '18

[deleted]

0

u/[deleted] Feb 09 '18

[deleted]

105

u/[deleted] Feb 09 '18

let's make the counter 64 bits this time

48

u/myrrlyn Feb 09 '18

i128 or bust

61

u/Lurker_Since_Forever Feb 09 '18

Signed 64 is already way way longer than the age of the universe up to this point. Like, in the trillions of years. More than we would ever need, but for real this time. None of that 640k of RAM bullshit.

64

u/heeen Feb 09 '18

That's why you make it microseconds or nanoseconds resolution

19

u/thefloppyfish1 Feb 09 '18

Dont give them any ideas

4

u/Bainos Feb 10 '18

At some point accurate nanosecond clocks might become commonplace and necessary. Let's future-proof our standards.

→ More replies (3)