Settings

Theme

In about 2 hours it’s 1400000000 unix time

28 points by Profpatsch · 20 comments · 1 min read


date +"%s"

11 threads
headwayoldest

Roughly every three years, the "exciting" change will be in 2033 when it rolls over into 2000000000.

espadrine

Not sure why people suggest programs that people must run several times to view that timestamp, instead of solutions for everyone.

Here's a webpage for it: https://thefiletree.com/jan/html/time.html

mykhal

duplicity (https://news.ycombinator.com/item?id=7736739)

archycockroach

  while true; do echo "I'll have a life in $(expr 1400000000 - $(date +"%s")) seconds" && sleep 1; done
csffsc

Basic countdown timer; tried to get that updating every second, what am I missing here?

http://jsfiddle.net/BPKdQ/

acegopher

I remember having recently survived Y2K having to go through all our code and databases again before UNIX time went from 9 to 10 digits in September of 2001.

chrisBob

Why does anyone care about a decimal milestone? I thought the excitement would be when you flip a big bit.

  • derekp7

    It's because I got 10 fingers on my hands. So that kind of makes it interesting, I guess.

  • ProfpatschOP

    Unix time is representing seconds, and seconds are a human measurement which use decimal notation.

    • robobro

      Seconds are base 60 actually, just like minutes

      • chrisBob

        I thought about that too, but then we would just be encouraging people to watch as the year wraps around at midnight on 1 January. That milestone is usually overshadowed by other things.

terminado

  package com.example;
  
  /**
   * 	./Main/src/com/example/Main.java
   */
  public class Main {
  	
  	public static void main(String[] args) {
  		System.out.println(System.currentTimeMillis());
  	}
  
  }
mcfstr

Hacky shell script...

while [ True ]; do sleep 1; clear; echo $(date +%s); done

mattwritescode

The title of this post seems to be rather out of date.

WillKirkby

For unix people:

watch -n 1 date -u +%s

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection