I need to set the time on the current date. The time string is always in 24 hour format but the result I get is wrong:
SimpleDateFormat df = new SimpleDate
if you replace in the function SimpleDateFormat("hh") with ("HH") will format the hour in 24 hours instead of 12.
SimpleDateFormat df = new SimpleDateFormat("HH:mm");