Jay Roy
asked on
Calendar.HOUR_OF_DAY at midnight
hi experts
I have this code using java 7:
If the program is running at 12 AM , will hours be 23, 24 or 00 ?
thx
I have this code using java 7:
Calendar cal = Calendar.getInstance() ;
int hours = cal.get(Calendar.HOUR_OF_DAY) ;
If the program is running at 12 AM , will hours be 23, 24 or 00 ?
thx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
https://www.experts-exchange.com/questions/28306670/date-1.html