posted 24 years ago
The simplest thing would be to create a Date object and use its toString method. The output would look like:
Wed Apr 12 10:50:50 MDT 2000
If you don't want all this or want it to look differently you can use the Date in conjuction with SimpleDateFormat or use the Calendar class.
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai