My code
Calendar calendar = Calendar.getInstance();
thisHour = calendar.get(Calendar.HOUR_OF_DAY);
Log.e(TAG + "--thisHour: ",String.valueOf(thisHour));
So this should print the hour of day as 24 hour format. When tried, then Time was 2.10pm so it should print 14. But it always print in log 3. I tried at other times too but same result. Always print time 1 hour advance and in 12 hour format. What have I done wrong ! Need guidline