import java.util.Date;
public class MainClass {
public static void main(String[] args) {
Date now = new Date();
System.out.printf("hours and minutes on a 24-hour clock: %tR/%TR\n", now, now);
}
}
hours and minutes on a 24-hour clock: 15:57/15:57