Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 How to Find out last day of 3rd week in a month.

Author  Topic 

basawareddy
Starting Member

11 Posts

Posted - 2009-06-25 : 06:59:08
Dear Friends,

How do we get last day of every 3rd week in a month. My week starts from Sunday to Saturday.

Please help me to solve.

Thanks,
Basawareddy M Gopsen.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-06-25 : 07:31:00
Ie you want the 3rd saturday of a month?
See http://weblogs.sqlteam.com/peterl/archive/2009/06/17/How-to-get-the-Nth-weekday-of-a-month.aspx


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -