Settings

Theme

In about 2 hours it’s 1400000000 unix time

28 points by Profpatsch 12 years ago · 20 comments · 1 min read


date +"%s"

headwayoldest 12 years ago

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

espadrine 12 years ago

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 12 years ago

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

archycockroach 12 years ago

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

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

http://jsfiddle.net/BPKdQ/

acegopher 12 years ago

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 12 years ago

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

  • derekp7 12 years ago

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

  • ProfpatschOP 12 years ago

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

    • robobro 12 years ago

      Seconds are base 60 actually, just like minutes

      • chrisBob 12 years ago

        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 12 years ago

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

Hacky shell script...

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

mattwritescode 12 years ago

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

WillKirkby 12 years ago

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