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
Try this :
SimpleDateFormat df = new SimpleDateFormat("hh:mm");
Or
SimpleDateFormat df = new SimpleDateFormat("KK:mm");
Reference : SimpleDateFormat