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
varundevraj1987
SSC Enthusiast
Points: 112
More actions
June 13, 2016 at 1:14 pm
#1884760
Select Day(EOMONTH('2016-06-11 15:13:04.497')) AS NoOfDays
NoOfDays
-----------
30
select day('2016-06-11 15:13:04.497') as daystillnow
daystillnow
11