I am having problems getting the current time on a 24 hour timescale. As far as I know, \"HH\" should represent the current hour on a 24 hour timescale, however, for some re
Try this:
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss"); String s = sdf.format(new Date());