Android examples for java.util:Day
get Current Day as int value
//package com.java2s; import java.util.Calendar; public class Main { public static int getCurrentDay() { Calendar cal = Calendar.getInstance(); int day = cal.get(Calendar.DATE); return day; }/*from w w w . j a v a 2 s . c o m*/ }