Finally I managed to understand what the problem was.
I should hold on my string 11 PM instead of 23 PM
What I don't understand is why parsing '23:00 PM' with SimpleDateFormat("hh:mm ...
Hi, I am using the SimpleDateFormat class to format a time display (hours:minutes AM/PM). Everything works good except the AM/PM settings are appearing backwards. Any idea what I am doing wrong? Here's the code: In a javaBean I set the time from a 4 digit int from a legacy system. For example 1500 is 3pm. public void setPropCheckInTime(int CheckInTime) { int ...