Hi I am trying to get today's date but not getting proper output
import java.text.DateFormat;
import java.text.SimpleDateFormat;
private static final DateFormat sdf = new SimpleDateFormat("DD/MM/YYYY");
System.out.println("TODAY :" + sdf.format(new Date()));
output
TODAY :142/05/2017
Year and month coming properly but why the day is coming like this