I am having an issue with date format. I am trying to change the format of date to dd/MM/yyyy. This is the code I am using:
However, it is throwing an exception: Can't call method format on class java.text.SimpleDateFormat ==> java.lang.IllegalArgumentException: Cannot format given Object as a Date
Can someone throw some light on this?
Thanks in advance...
Edited by: 962330 on Jan 15, 2013 9:57 PM