Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "getting current date -applets" Watch "getting current date -applets" New topic

getting current date -applets

anusha mandava

Joined: Nov 14, 2000
Posts: 2
I am presently working on 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
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.
I agree. Here's the link:
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