This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Date difference, with the table containing null values for date
passed with 155... is that possible?
displaying 2 weeks dates
How to get weeks for a particular year with Calendar object
Date Displaying issue