Chapter VI Question 24 (Display current date and time)
**6.24 (Display the current date and time) Listing 2-7 shows the current time. Improve this example to display the current date and time. The calendar example in Listing 6-12 can provide some ideas on how to find the year, month, and day. **6.24(Display current date and time) Listing 2.7, ShowCurrentTime.java, displays the current time. Revise this example to display the current date and time. The calendar example in Listing 6.12, PrintCalendar.java, should give you some ideas on how to find the year, month, and day.