To find out the number of days in the present month

Amatya
Posted by Amatya under Sql Server category on | Points: 40 | Views : 311
Select DAY(EOMONTH(convert(datetime,getdate(),103))) as NumberOfDays


Thanks
Amatya

Comments or Responses

Login to post response