Sorry, but there are no more tags available to filter with.
December 11, 2007
This function is fairly simple. Pass in a date and we return the Week # of the month. Generally this is 1 -5. In a rare case, like April 2006, this may stretch to 6. It can be customized for custom calendars. declare @p_date smalldatetime set @p_date = '5/15/2007' --or any date you like select...