Sets the date format. By default, the date format is '%Y-%m-%d'.
Parameters:
myCalendar.setDateFormat("%d/%m/%y");
Description:
Format string can contain any separator character and any element from the following list:
For example, if you want to set 1st June 2011 as 01.06.2011, the following format should be specified:
myCalendar.setDateFormat("%d.%m.%Y");
See also:
You can find mentioning of the date format on the following pages: