Hello I am trying to get the current date at java at a Class I created but everything fails. I\'ve seen in many sites e.g. http://www.mkyong.com/java/java-date-and-calenda
You can also use use java.util.Calendar as follows:
Calendar c = Calendar.getInstance(); java.util.Date date = c.getTime();