This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

week days

 
raj baig
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic