Java tutorial
import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class Main { public static void main(String[] args) { DateFormat df = new SimpleDateFormat("MM/dd/yyyy"); Date today = Calendar.getInstance().getTime(); String reportDate = df.format(today); System.out.println("Report Date: " + reportDate); } }