The class java.util.Date represents a specific instant in time, with millisecond precision.
public class MainClass { public static void main(String[] args) { java.util.Date date = new java.util.Date(); } }