5 ms·
In about 2 hours it’s 1400000000 unix time
date +"%s"
- mattwritescode 12y agoThe title of this post seems to be rather out of date.
- Profpatsch 12y ago6000 seconds. That’s still about 2 hours. :)
- terminado 12y agopackage com.example; /** * ./Main/src/com/example/Main.java */ public class Main { public static void main(String[] args) { System.out.println(System.currentTimeMillis()); } }
- jeffcox 12y agoRoughly every three years, the "exciting" change will be in 2033 when it rolls over into 2000000000.
- acegopher 12y agoThe MOST exciting time will be when it hits 2147483647.
- mykhal 12y agoduplicity (https://news.ycombinator.com/item?id=7736739 https://news.ycombinator.com/item?id=7736739)
- acegopher 12y agoI 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 12y agoWhy does anyone care about a decimal milestone? I thought the excitement would be when you flip a big bit.
- Profpatsch 12y agoUnix time is representing seconds, and seconds are a human measurement which use decimal notation.
- derekp7 12y agoIt's because I got 10 fingers on my hands. So that kind of makes it interesting, I guess.
- archycockroach 12y agowhile true; do echo "I'll have a life in $(expr 1400000000 - $(date +"%s")) seconds" && sleep 1; done
- espadrine 12y agoNot 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 https://thefiletree.com/jan/html/time.html
- robobro 12y agoIf you use Windows, UNIX time probably isn't very relevant to you.
- csffsc 12y agoBasic countdown timer; tried to get that updating every second, what am I missing here? http://jsfiddle.net/BPKdQ/ http://jsfiddle.net/BPKdQ/
- CornishPasty 12y agoIt should be setInterval(updateClock, 1000) not setInterval(updateClock(), 1000)
- csffsc 12y agoThanks! http://jsfiddle.net/BPKdQ/1 http://jsfiddle.net/BPKdQ/1
- WillKirkby 12y agoFor unix people: watch -n 1 date -u +%s
- mcfstr 12y agoHacky shell script... while [ True ]; do sleep 1; clear; echo $(date +%s); done