TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Unix Time reaches 1.7 billion

298 pointsby AlwaysNewb23over 1 year ago

50 comments

SPHINXc--over 1 year ago
Actually a cool date pivot point. Did not realize it was coming up (and has now passed). Thanks.
评论 #38270827 未加载
评论 #38270802 未加载
评论 #38274494 未加载
codezeroover 1 year ago
It’s funny how relevant this niche fact is for me. When I started my last job it was at 1.3 and I remember seeing it go through 1.4, 1.5 and 1.6 since I debugged a lot of data with timestamps. I remember commenting to my team about the 1.5 change and got some “so what” faces so I’m glad someone else looks at these changes as a sort of long term metronome like I did.
评论 #38275211 未加载
James-Liveseyover 1 year ago
Such an excellent coincidence that it happens to be on my birthday! In fact to celebrate, I did set up the only livestream in existence on YouTube (afaik) to capture this: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;live&#x2F;DN1SZ6X7Vfo">https:&#x2F;&#x2F;www.youtube.com&#x2F;live&#x2F;DN1SZ6X7Vfo</a>
评论 #38271384 未加载
评论 #38275999 未加载
koito17over 1 year ago
Dang, I missed this by roughly an hour :(<p>I still remember when we were at 1.2 billion seconds. Time flies.<p>While we&#x27;re still here: my favorite way to appreciate the scale of million and billion is with seconds: 1 million seconds is approximately 12 days, whereas as 1 billion seconds is approximately 31 years.
评论 #38271539 未加载
评论 #38271752 未加载
benatkinover 1 year ago
I watched in `deno repl` neatly sandboxed :)<p><pre><code> new Date().valueOf() &#x2F; 1000 </code></pre> I was counting down by thousands of seconds, rather than millions of milliseconds, which is why I divided instead of using the native js value.<p>Happy 1.7 gigaseconds!
评论 #38270811 未加载
rsynnottover 1 year ago
We draw close now to the (i32) end-times.
评论 #38270908 未加载
JoshGlazebrookover 1 year ago
2038 is sure going to be an interesting year.
评论 #38271045 未加载
评论 #38272594 未加载
enva2712over 1 year ago
It came fast, I’m barely done celebrating 1696969420
评论 #38282196 未加载
fabianhjrover 1 year ago
Wish you all good health and fortune until 2.0 short billion<p>&gt; Wednesday May 18 2033 03:33:20 GMT
u801eover 1 year ago
As for what the future holds:<p><pre><code> $ date --date=&quot;@1800000000&quot; Fri Jan 15 03:00:00 AM EST 2027 $ date --date=&quot;@1900000000&quot; Sun Mar 17 01:46:40 PM EDT 2030 $ date --date=&quot;@2000000000&quot; Tue May 17 11:33:20 PM EDT 2033</code></pre>
xeckrover 1 year ago
I opened Node.js and did<p><pre><code> setInterval(() =&gt; console.log(Date.now()), 1); </code></pre> to watch the transition. Happy 1.7B seconds since Jan 1 1970!
评论 #38270932 未加载
评论 #38270710 未加载
评论 #38271128 未加载
johneaover 1 year ago
Tue 14 Nov 2023 02:13:17 PM PST = 1699999997<p>Tue 14 Nov 2023 02:13:18 PM PST = 1699999998<p>Tue 14 Nov 2023 02:13:19 PM PST = 1699999999<p>Tue 14 Nov 2023 02:13:20 PM PST = 1700000000<p>Tue 14 Nov 2023 02:13:21 PM PST = 1700000001<p>Tue 14 Nov 2023 02:13:22 PM PST = 1700000002<p>Tue 14 Nov 2023 02:13:23 PM PST = 1700000003
lagrange77over 1 year ago
Are we supposed to clink our calculators now?
msraviover 1 year ago
Doesn&#x27;t the 100M mark rollover every 3 yrs and change? What&#x27;s the big significance of the 1.7B mark?
评论 #38274634 未加载
jeffbeeover 1 year ago
I want to use this opportunity to flog one of my favorite topics: whether or not to store epoch time using variable-length numbers in protobuf.<p>TL;DR: never do this<p>If you are storing the epoch offset in seconds, you could store it as int32 or fixed32 (assuming the range is adequate for your application). But int32 will need 5 bytes, while the fixed32 field would only use 4. So you never save space and always spend time using int32.<p>Similarly, if you are storing the offset as nanoseconds, never use int64. Except for a few years on either side of the epoch, the offset is always optimal in a fixed64. int64 will tend to be 9 bytes. Fixed64 nanoseconds has adequate range for most applications.<p>You&#x27;ll note that the &quot;well-known&quot; google.protobuf.Timestamp message commits both of these errors. It stores the seconds part as a varint, which will usually be at least 5 bytes when it could have been 4, and it stores the nanoseconds separately in an int32, even though this is more or less an RNG and is virtually guaranteed to need 5 bytes, if present. So nobody should use <i>that</i> protobuf.<p>Thus ends this episode of my irregular advice on how to represent the time.
throwitaway222over 1 year ago
The REAL big non-event that no one cares about is this one:<p><a href="https:&#x2F;&#x2F;www.epochconverter.com&#x2F;countdown?q=2000000000" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.epochconverter.com&#x2F;countdown?q=2000000000</a>
评论 #38267511 未加载
jayknightover 1 year ago
&gt;In human years, the UNIX timestamp is about 80.<p>It&#x27;s 53, right? Since 1 Jan 1970?
评论 #38279298 未加载
tw1984over 1 year ago
I don&#x27;t use Unix time. If someone gives you a Unix time timestamp x, it doesn&#x27;t mean much unless you check it against a list of leap seconds. By default, your fancy unix time timestamp X doesn&#x27;t point to a unique second in history, for dozens of times, it pointed to some pretty random 2 seconds intervals. TAI is the only sane choice if you do understand what you are doing.<p>Btw, if you already know that leap second is dead and wondering what happens next, well, they are going to implement leap minute, the good news is you are unlikely to see one in your life time. They are meeting next week to decide on this leap minute proposal.<p><a href="https:&#x2F;&#x2F;www.nytimes.com&#x2F;2023&#x2F;11&#x2F;03&#x2F;science&#x2F;time-leap-second.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.nytimes.com&#x2F;2023&#x2F;11&#x2F;03&#x2F;science&#x2F;time-leap-second....</a>
评论 #38275623 未加载
XorNotover 1 year ago
Feels weird to be almost 1900 seconds in this bold new number right now!
JCharanteover 1 year ago
Oh wow. Is it strange that I remember the 1600M epoch second?
评论 #38271445 未加载
评论 #38271163 未加载
评论 #38271224 未加载
giovannibonettiover 1 year ago
Since we&#x27;re less than a decade away from the doomsday point, I wonder if it would be easier to transition from signed to unsigned 32 bits, as it would buy everyone multiple decades to transition to something else.<p>Also, this first transition should be less disruptive than any other one, since the unsigned format is backwards compatible with the current signed one in its current usage (positive numbers).
评论 #38277305 未加载
评论 #38276675 未加载
snthpyover 1 year ago
OT but may be of interested to folks that find this kind of numerology fun.<p>Your 10_000 th day passes when you&#x27;re 27.x years old (IIRC). I had a celebration with friends as it seemed more significant than any of the other milestones that are usually celebrated because you won&#x27;t reach 100_000 and don&#x27;t remember 1_000. Can recommend!
评论 #38274099 未加载
评论 #38274175 未加载
grey_earthlingover 1 year ago
Dividing the Unix time by 100,000 produces a (currently) 5-digit number that increments every ~28 hours, and behaves pleasingly like a stardate.<p>(It doesn&#x27;t align with any of the various stardate systems actually used in the different Star Trek series and films, but aesthetically it&#x27;s similar enough to be fun.)
mlhpdxover 1 year ago
Okay, so at what value will the Unix timestamp equal the human population? I should start a pool…
shpxover 1 year ago
It should be 63835596800 (63.8 billion) because it was kind of self-centred to start counting from 1970 instead of year 1. It doesn&#x27;t make sense to make memorizing a 4 digit number a prerequisite to becoming a programmer.
评论 #38271823 未加载
评论 #38273255 未加载
评论 #38273030 未加载
monealover 1 year ago
$ date -r 1700000000<p>Tue Nov 14 14:13:20 PST 2023
评论 #38271430 未加载
gumbyover 1 year ago
What&#x27;s with the fetish for round numbers in, of all things, <i>base 10</i>?
评论 #38274920 未加载
mulmenover 1 year ago
To all of you that wrote adhoc scripts to “see” this happen, what are you doing to preserve them so they work for 1.8 gigaseconds on January 15, 2027?<p>I lost my 1.6 gigasecond script because it was on a work laptop at a previous role.
评论 #38277703 未加载
评论 #38271662 未加载
cplliover 1 year ago
Don’t forget to update your regex appropriately (&#x2F;s hopefully)
droptablemainover 1 year ago
Countdown to 2147483647<p><a href="https:&#x2F;&#x2F;www.epochconverter.com&#x2F;countdown?q=2147483647" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.epochconverter.com&#x2F;countdown?q=2147483647</a>
评论 #38273565 未加载
UUID_KINGover 1 year ago
<a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Szdziw4tI9o">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Szdziw4tI9o</a> Theme music. :)
antiquarkover 1 year ago
Few seconds left....<p><a href="https:&#x2F;&#x2F;www.epochconverter.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.epochconverter.com&#x2F;</a>
foxyladover 1 year ago
Had a weird timestamp bug yesterday, and I did (stupidly) consider if it was an artifact of hitting 1.7 billion seconds.
m0d0nne11over 1 year ago
while date &#x27;+%s&#x27;; do sleep 1; done
评论 #38270162 未加载
评论 #38270199 未加载
JohnMakinover 1 year ago
hah! noticed this because I was testing some logic and a timestamp popped up at exactly 1.7 billion and some decimal.
Heliodexover 1 year ago
I told myself I wouldn&#x27;t miss it this time D:<p>Welp, time to wait another 3 years. No way I&#x27;m missing the Epochalypse.
classifiedover 1 year ago
1.7e9 is a rather crooked time stamp. 1.8e9 is much neater.
spike_proteinover 1 year ago
I&#x27;m looking forward to &quot;The 2038 Problem&quot;
grahammover 1 year ago
I filmed it on my phone so I can watch it roll over later...
aidenn0over 1 year ago
I was in college when it hit 1 billion. I feel old now.
StevePerkinsover 1 year ago
Not to be a wet blanket, but I&#x27;m really surprised to see posts about this all over social media today. This isn&#x27;t even a nice round number, and we hit a new decimal value every 5 years or so.
borbtacticsover 1 year ago
We get to celebrate every three years? Nice
xystover 1 year ago
In 5180 days, unix time will overflow.
simneover 1 year ago
Respectable reason to drink :)))
simonblackover 1 year ago
And .... ??<p>Not only that, it&#x27;s almost 9AM.<p>Sorry, but I can&#x27;t see what the big deal is supposed to be. Maybe I&#x27;m missing something.
评论 #38271470 未加载
评论 #38271420 未加载
评论 #38271309 未加载
willsoonover 1 year ago
Happy 1.7 and prosper next!
DamonHDover 1 year ago
1699996851
评论 #38270392 未加载
1970-01-01over 1 year ago
Neat!
seydorover 1 year ago
in decimal
zzzcsgoover 1 year ago
Not sure why this is significant
评论 #38274422 未加载