hi i want to display time in my application in the format of HH:mm AM/PM. Digital clock includes seconds also. That is HH:mm:ss am/pm. how to avoid showing seconds. Is there any
You have to make a clone of the file DigitalClock.java to use in your application, modify in the following manner:-
DigitalClock.java
private final static String m12 = "h:mm aa"; private final static String m24 = "k:mm";
The path of DigitalClock.java : Here