Live data from Hacker News

The Unix timestamp will begin with 16 this Sunday

unixtimestamp.com

41–50 of 214 posts

Re: The Unix timestamp will begin with 16 this Sunday

#41
I hope you are running an up-to-date Splunk version:

Beginning on September 13, 2020 at 12:26:39 PM Coordinated Universal Time (UTC), un-patched Splunk platform instances will be unable to recognize timestamps from events with dates that are based on Unix time, due to incorrect parsing of timestamp data.

https://docs.splunk.com/Documentation/Splunk/latest/ReleaseN...

Re: The Unix timestamp will begin with 16 this Sunday

#43
post #26

All dates describing pattern: code: #!/bin/bash for t in $(seq 0 100000000 $((2* * 31))); do date -u -d @$t +'%s -> %c'; done output: 0 -> Do 01 Jan 1970 00:00:00 UTC 100000000 -> Sa 03 Mär 1973 09:46:40 UTC 200000000 -> Mo 03 Mai 1976 19:33:20 UTC 300000000 -> Do 05 Jul 1979 05:20:00 UTC 400000000 -> Sa 04 Sep 1982 15:06:40 UTC 500000000 -> Di 05 Nov 1985 00:53:20 UTC 600000000 -> Do 05 Jan 1989 10:40:00 UTC 7000000…

Day of week abbreviation translations:

  So Sunday
  Mo Monday
  Di Tuesday
  Mi Wednesday
  Do Thursday
  Fr Friday
  Sa Saturday
I think those are German.

Re: The Unix timestamp will begin with 16 this Sunday

#44
post #37

When we one day become a space faring civilization we will probably stop using the gregorian calendar because why would you use that on say Mars? But there really is no reason to get rid of the unix timestamp as a measure of time and this measure may stay around for a long time. This may mean that people in the future might consider 1970 as year zero where modern civilization began.

In "Deepness in the Sky" a spaceship's computer is still running on Unix time many thousands years into the future. It is generally believed that the calendar starts with the first Moon landing, and only the main character as a "programmer-archeologist" discovers a small difference between it and true Unix time 0.

Re: The Unix timestamp will begin with 16 this Sunday

#45
post #43
post #26

All dates describing pattern: code: #!/bin/bash for t in $(seq 0 100000000 $((2* * 31))); do date -u -d @$t +'%s -> %c'; done output: 0 -> Do 01 Jan 1970 00:00:00 UTC 100000000 -> Sa 03 Mär 1973 09:46:40 UTC 200000000 -> Mo 03 Mai 1976 19:33:20 UTC 300000000 -> Do 05 Jul 1979 05:20:00 UTC 400000000 -> Sa 04 Sep 1982 15:06:40 UTC 500000000 -> Di 05 Nov 1985 00:53:20 UTC 600000000 -> Do 05 Jan 1989 10:40:00 UTC 7000000…

Day of week abbreviation translations: So Sunday Mo Monday Di Tuesday Mi Wednesday Do Thursday Fr Friday Sa Saturday I think those are German.

correct

Re: The Unix timestamp will begin with 16 this Sunday

#46
post #37

When we one day become a space faring civilization we will probably stop using the gregorian calendar because why would you use that on say Mars? But there really is no reason to get rid of the unix timestamp as a measure of time and this measure may stay around for a long time. This may mean that people in the future might consider 1970 as year zero where modern civilization began.

There is a very good reason to eventually abandon it: leap seconds. Unix time goes back one second whenever there is a leap second on Earth.

It's extremely weird and IMHO completely ruins the purpose of a timestamp, but it's a compromise for backwards compatibility, since Unix time was created before leap seconds. This hack ensures that the number of seconds in a day remains fixed, an assumption of many systems at the time.

Re: The Unix timestamp will begin with 16 this Sunday

#47
post #40
post #37

When we one day become a space faring civilization we will probably stop using the gregorian calendar because why would you use that on say Mars? But there really is no reason to get rid of the unix timestamp as a measure of time and this measure may stay around for a long time. This may mean that people in the future might consider 1970 as year zero where modern civilization began.

Next iteration of unix-time should include the concept of local time in context of relativty if we are going to travel or communicate over significant distances.

You mean that from a remote place or fast-moving ship, the time on Earth would appear to go at a different speed? So local time would not just have a constant offset?

Re: The Unix timestamp will begin with 16 this Sunday

#49
post #46
post #37

When we one day become a space faring civilization we will probably stop using the gregorian calendar because why would you use that on say Mars? But there really is no reason to get rid of the unix timestamp as a measure of time and this measure may stay around for a long time. This may mean that people in the future might consider 1970 as year zero where modern civilization began.

There is a very good reason to eventually abandon it: leap seconds. Unix time goes back one second whenever there is a leap second on Earth. It's extremely weird and IMHO completely ruins the purpose of a timestamp, but it's a compromise for backwards compatibility, since Unix time was created before leap seconds. This hack ensures that the number of seconds in a day remains fixed, an assumption of many systems at th…

Why would someone on Mars, or an asteroid, or orbiting venus, care about leap seconds on earth?

Number of seconds since a given time seems fine until we're travelling significantly outside of a common reference plane.

Post reply on HN