how to get last date of month in sql
  • how can i get last date of month in sql server?
  • 1 Comment sorted by
  • hi coder, you can use this query..

    SELECT DATEADD(d, -1, DATEADD(m, DATEDIFF(m, 0, getdate()) + 1, 0))

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

Top Posters Weekly

Optimum Creative