Is there a Java equivalent of DateTime.MinValue and DateTime.Today in the Java Date class? Or a way of achieving something similar?
I\'ve realised how spoilt you are
to get the current date:
Calendar calendar = Calendar.getInstance(); SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
try { System.out.println("Today: " + dateFormat.format(calendar.getTime())); } catch (Exception e) { e.printStackTrace(); }