How can I construct an applet which shows the current Date and time using Date and Calender classes? to get the hour, minutes, week, days of a month as numbers? Please note that it is not application but through applet.
posted 15 years ago
Hi, The Date and Calendar classes can be used by an applet the same as they can be used by an application. To get the current date instance just create a new Calendar instance and it will magically appear in the new object! NOTE: Your chosen user name is not valid here at the ranch. We require a firstName + space + lastName to maintain a professional atmosphere. Please read the Ranch naming policy here and re-register with a valid user name. Thanks, Manfred.