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.
package com.example;
/**
* ./Main/src/com/example/Main.java
*/
public class Main {
public static void main(String[] args) {
System.out.println(System.currentTimeMillis());
}
}