This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes week days Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "week days" Watch "week days" New topic
Author

week days

raj baig
Ranch Hand

Joined: Jul 11, 2006
Posts: 96
Hi ,

I want to display starting date and ending date of weeks in a month
i.e. this month(may) :
week starting date monday : 7
week ending date saturday : 12


can you tell me how to get it.
i am using calendar but need some help.

Thanks in Advance,
Raj.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42030
    
  64
You can use Calendar to find out what day of the week the first of a month is. Once you know that, you can find the date of the first Monday, and proceed from there.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: week days