Home Forums Article Discussions Article Discussions by Author Discuss content posted by Harsha Majety Function to get number of days in month RE: Function to get number of days in month
Obs
SSC Eights!
Points: 987
More actions
April 26, 2011 at 11:21 am
#1316049
How is this not better?
Select day(dateadd(mm,DateDiff(mm, -1, getdate()),0) -1)