Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Dates - End of month

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-04-25 : 22:44:52
Rob writes "Do any of you SQL gurus know if there is a way to work out what the end date of the current month is?

I have managed to work out how to do the start of the month:
DATEADD(day, -DAY(GETDATE()) + 1, GETDATE())

Any ideas...

Thanks
Rob"
   

- Advertisement -