fork download
  1. import java.util.Date;
  2. import java.text.SimpleDateFormat;
  3.  
  4. public class Main{
  5. public static void main(String ar[]){
  6. System.out.println(new SimpleDateFormat("MM-dd-yyyy").format(new Date(Long.MAX_VALUE)));
  7. }
  8. }
Success #stdin #stdout 0.05s 246080KB
stdin
Standard input is empty
stdout
08-17-292278994