Java examples for java.util:Day
get Now Day
//package com.java2s; import java.util.Calendar; public class Main { public static void main(String[] argv) throws Exception { System.out.println(getNowDay()); }/*ww w. ja v a2s. co m*/ public static int getNowDay() { return Calendar.getInstance().get(Calendar.DAY_OF_MONTH); } }