this post was submitted on 16 Nov 2023
168 points (99.4% liked)

linuxmemes

20688 readers
1177 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
168
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

a rare Unix timestamp occurred yesterday.
next one (1_800_000_000) will be in 2027.


edit: seems like Lemmy doesn't like video links in pictures field. so pasted it below.

video recording the moment in terminal

all 16 comments
sorted by: hot top controversial new old
[–] [email protected] 46 points 10 months ago (1 children)

Cutting it a bit close there.

[–] [email protected] 24 points 10 months ago (1 children)

yes lol. became anxious fearing I'd miss it and hence made typos :')

[–] [email protected] 38 points 10 months ago (3 children)

Nothing existed prior to January 1, 1970.

It is known.

[–] [email protected] 5 points 10 months ago

It is known.

[–] [email protected] 4 points 10 months ago

End of universe, 2038.

[–] [email protected] 3 points 10 months ago (1 children)

From the atomic age into the information age. That date is a good marker.

[–] [email protected] 6 points 10 months ago

*Disinformation Age

The Information Age appeared for a brief moment and went straight into the Disinformation Age

[–] [email protected] 18 points 10 months ago

I imagine all timestamps are rare. I.e only one exists of each until there is a rollover.

[–] [email protected] 14 points 10 months ago

Had to explain Unix time to my friends when I sent them a picture of 1696969420

[–] [email protected] 8 points 10 months ago

🥳🥳🥳

[–] [email protected] 6 points 10 months ago

I've been using Linux since 1996 and remember when time_t was less than a billion. I guess I've found a new way to date myself. Slightly interestingly I thought, 1 billion was a couple of days before 9/11 which some have said defines the modern era or epoch.

[–] [email protected] 6 points 10 months ago

Hooray we did it!

[–] [email protected] 5 points 10 months ago

Fun fact: If your shell is Bash or supports the same feature(s), date technically isn't needed; printf '%(%s)T\n' works the same.

Yes, that is a date/strftime-style percent escape inside a specific parenthetical printf percent escape.

[–] [email protected] 4 points 10 months ago (1 children)

What shell is this that it outputs the duration after exiting the loop? Looks nifty.

[–] [email protected] 10 points 10 months ago* (last edited 10 months ago)

it's starship. you should check it out if you don't have a handcrafted prompt.

edit: shell is bash. just with a custom prompt in .bashrc.