3 ms·You should be using the Java 8 time APIs if you want to do it right.by nindalf 10y agoYou should be using the Java 8 time APIs if you want to do it right.ranko 10y agoPersonally, I find Java 11 makes this much easier.