wood burning stoves 2.0*
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting current date -applets
 
Similar Threads
dates in java
Exam Link Expiry
JSP is recompiling on every request
Another format check :P
Date method