aspose file tools*
The moose likes Applets and the fly likes getting current date -applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "getting current date -applets" Watch "getting current date -applets" New topic
Author

getting current date -applets

anusha mandava
Greenhorn

Joined: Nov 14, 2000
Posts: 2
I am presently working on applets....my question is whether we can get the current date from the system using getparameter() ..if so how
Stephanie Grasson
Ranch Hand

Joined: Jun 14, 2000
Posts: 347
anusha,
I'm not sure about the getparameter() part of your question, but you can get the date by simply instantiating a Date object. See the little example below:

Hope this helps. If not, let us know.
Stephanie
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getting current date -applets