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
mpv-1060508
SSC Eights!
Points: 885
More actions
April 27, 2011 at 7:14 am
#1316536
How about this?
RETURN DAY(DATEADD(d,-1,DATEADD(mm,DATEDIFF(m,0,@day)+1,0)))