Remy Porter’s CodeSOD item for The Daily WTF, dated 2026-10-05, presents an anonymous submission containing legacy Java. The stated job is to find the current time.

legacy-java.txt
Timestamp current = new Timestamp(new Date().getTime());
Date date = new Date(current.getTime());

`new Date()` already creates a date-time object for the current moment, and `getTime()` returns its time value. The submitted sequence creates a Date, passes its value into a Timestamp, reads the value back, and uses it to create another Date. Porter says Java’s older date classes were poorly designed, but the API did not require this chain. It was application-made complexity.