This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JSP and the fly likes displaying 2 weeks dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "displaying 2 weeks dates" Watch "displaying 2 weeks dates" New topic

displaying 2 weeks dates

sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
can anyone tell me the code for extracting current date & displaying from it the next 2 weeks dates & also 1 week previous date using Gregorian Calendar.its very urgent.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Try this:

Regards, Rene Larsen
Dropbox Invite
sunita shaw
Ranch Hand

Joined: Apr 06, 2003
Posts: 45
thanx Rene , u've got it exactally what i want but can u please write a small java/jsp program for this problem, i dunno where i'm making the mistake,cant send u my code coz its too long,so just send me as soon as possible.
I agree. Here's the link:
subject: displaying 2 weeks dates
It's not a secret anymore!