package com.example;
/**
* ./Main/src/com/example/Main.java
*/
public class Main {
public static void main(String[] args) {
System.out.println(System.currentTimeMillis());
}
}
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.
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.
20 comments
[ 3.0 ms ] story [ 46.1 ms ] threadHere's a webpage for it: https://thefiletree.com/jan/html/time.html
http://jsfiddle.net/BPKdQ/
http://jsfiddle.net/BPKdQ/1
watch -n 1 date -u +%s
while [ True ]; do sleep 1; clear; echo $(date +%s); done