I dont want to add the year or month.Just the hour , minutes and seconds for each day. How to use it the Calendar object to do it ? This is my code
// get a
try using
calendar.set(Calendar.HOUR_OF_DAY, 4); calendar.set(Calendar.MINUTE, 40); calendar.set(Calendar.SECOND, 0);
try this too
cal.set(2013,2,7,15,42,30);
Note: Months value is MonthNumber-1 (Jan is 0, Feb is 1 and so on).
MonthNumber-1
Jan is 0
Feb is 1