To find out the number of days in the present month

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


Thanks
Amatya

Comments or Responses

Login to post response