FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How To Find All Weeks First date and Last date?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How To Find All Weeks First date and Last date? [message #174376] Thu, 09 June 2011 12:25 Go to previous message
Amit Pawar is currently offline  Amit Pawar
Messages: 1
Registered: June 2011
Karma:
Junior Member
Hi,

I want to find All no of week in any month.
And first and last date of that week.

Assume Month is Jan 2011

date in Y-m-d
1st week -> Start date=2011-01-01 End date=2011-01-01
2nd week -> Start date=2011-01-02 End date=2011-01-08
3rd week -> Start date=2011-01-09 End date=2011-01-15
4th week -> Start date=2011-01-16 End date=2011-01-22
5th week -> Start date=2011-01-23 End date=2011-01-29
6th week -> Start date=2011-01-30 End date=2011-01-31
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: hai sweety
Next Topic: Install GD on Windows
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 16:53:47 GMT 2024

Total time taken to generate the page: 0.04985 seconds