I am displaying the date and time in Android with this format: 2013-06-18 12:41:24
How can I change it to the following format? 18-j
First Create a Calendar object using your Date object. Then build a String using date, year, month and etc you need. then you can use it.
Calendar
Date
String
You can get data using get() method in Calendar class.