Click here to Skip to main content
12,953,937 members (43,786 online)
Click here to Skip to main content
Articles » Database » Database » General » Revisions

Tagged as

Stats

16.4K views
5 bookmarked
Posted 17 Nov 2009

SQL Get the last date of the month

, 17 Nov 2009 CPOL
declare @Date datetimeset @Date = '2009/10/17'Select dateadd(day, 0 - day(dateadd(month, 1 , @Date)), dateadd(month, 1 , @Date))

Revisions


  

Compare Revision Minor Date Status Editor
1 - publicly available No 17-Nov-09 23:25 Available Asif Mushtaq

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Asif Mushtaq
Software Developer (Senior)
Pakistan Pakistan
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170525.1 | Last Updated 18 Nov 2009
Article Copyright 2009 by Asif Mushtaq
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid