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.
Author |
Topic |
sb_rkarnati
Starting Member
4 Posts |
Posted - 2008-03-15 : 07:12:20
|
Hi,I have a situation where I need to determine the date of the second saturday of March of a year. How to do that?For example, for 2008, it should give 9 (as the second sunday of March this is is 9th). For 2009 it should give 8 (as the second sunday of March next year would be the 8th of March), for 2010 it should give 14 (as the second sunday of March in year 2010 is the 14th of March) etc. Thanks in advanceRS |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2008-03-15 : 10:08:05
|
If these dates are important, you should store these entries in a table somewhere once you determine them.- Jeffhttp://weblogs.sqlteam.com/JeffS |
 |
|
|
|
|