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
You can use SimpleDateFormat to format it the way you like, this works:
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss"); String str = sdf.format(new Date());
Also Android version of docs.