Android examples for java.util:Day
get Current Day in day of month
import android.util.Log; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Map; public class Main{ public static int getCurrentDay() { return Calendar.getInstance().get(Calendar.DAY_OF_MONTH); }//from w w w . j a v a 2s.c o m }