This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes How do i get the start and the end date for a perticular week Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How do i get the start and the end date for a perticular week" Watch "How do i get the start and the end date for a perticular week" New topic
Author

How do i get the start and the end date for a perticular week

Rinku Sharma
Greenhorn

Joined: Mar 30, 2001
Posts: 18
hi friends,
I have a problem in in getting the first date and the last date of a perticular week.
I have the following parameters with me:
date,month,year and the week no.(ie whether its 42 week etc.).
Can somebody please tell me that how do i find the startdate and the enddate for a perticular week considering that i have the above parameters.
eg:
date: 01
month: 01
year: 2001
week: 1st week
now using the above parameters how do i get the startdate and the enddate for the week.
bye,
amit
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

Look at classes java.util.Date and Calendar. If you need help, ask in the General Java Questions forum.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do i get the start and the end date for a perticular week
 
Similar Threads
Converting Date into Day, Month, Year
inserting values in database after calculation
calcuate days in a calender.era or between two days
How can i get the first and the last date for a specific week
group by week help