I have the following scenario :
SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yyyy\"); System.out.println(dateFormat.parse(\"31/05/2011\"));
I had something like this, my suggestion would be to use java for things like this, don't put in boilerplate code