Listing 1, ShowCurrentTime.java, displays the current time. Improve this example to display the current date and time. The calendar example in Listing 2, PrintCalendar.java, should give you some ideas on how to find the year, month, and day.
Listing 1


Listing 2



We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.