Getting of the current date in Java

Date now = new Date();