this post was submitted on 17 Apr 2024
1452 points (98.6% liked)

Programmer Humor

19551 readers
1044 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] FaceDeer@fedia.io 6 points 7 months ago (1 children)

I suspect that won't help. The reason the Moon needs a time zone is because of gravitational time dilation, time literally runs slower down here on Earth's surface relative to the Moon's surface. A computer on the Moon gains an extra 58.7 microseconds each Earth day, so if you're programming something that'll be running on Lunar time you'll need to account for that.

[–] JoeCoT@fedia.io 1 points 7 months ago (1 children)

The point of the lunar time zone is not to have a specific UTC offset like other timezones. The moon would have its own set of atomic clocks, and time could be coordinated with earth based on ratio instead of offset.

[–] FaceDeer@fedia.io 2 points 7 months ago* (last edited 7 months ago) (1 children)

They're not going to be maintaining literal atomic clocks on the Moon for this. They'll apply a mathematical adjustment to UTC based on what the physics calculations say is happening. The details of that adjustment are what NASA has yet to develop. It could involve subtracting a "leap second" from lunar time at intervals, leap seconds are already used for keeping UTC in sync with the solar time so it's an established process. Or maybe they'll just let Lunar time continue drifting relative to Earth, in which case there'll be a different "epoch" on each.

[–] ricecake@sh.itjust.works 1 points 7 months ago

They probably actually will end up with atomic clocks on the moon, or at least in close lunar orbit. If the plan is to have something like gps on the moon, that's a first step.