android how to get month on world programmatically

Solutions on MaxInterview for android how to get month on world programmatically by the best coders in the world

showing results for - "android how to get month on world programmatically"
Jaylon
19 Jan 2016
1import android.text.format.DateFormat;
2
3String dayOfTheWeek = (String) DateFormat.format("EEEE", date); // Thursday
4String day          = (String) DateFormat.format("dd",   date); // 20
5String monthString  = (String) DateFormat.format("MMM",  date); // Jun
6String monthNumber  = (String) DateFormat.format("MM",   date); // 06
7String year         = (String) DateFormat.format("yyyy", date); // 2013
8