I have a ReST service which downloads information about events in a persons calendar...
When it returns the date and time, it returns them as a string
e.g. d
Assuming you get your date in String format (if not, convert it!) and then this:
String date = "12/8/2012"; String[] dateParts = date.split("/"); String day = dateParts[0]; String month = dateParts[1];
Similarly u can split time as well!