0 0
Read Time:16 Second

  • Last Day of Previous MonthSELECT DATEADD(s,-1,DATEADD(mmDATEDIFF(m,0,GETDATE()),0))
  • Last Day of Current MonthSELECT DATEADD(s,-1,DATEADD(mmDATEDIFF(m,0,GETDATE())+1,0))
  • Last Day of Next MonthSELECT DATEADD(s,-1,DATEADD(mmDATEDIFF(m,0,GETDATE())+2,0))


Previous post Differentiate between alert(), prompt() and confirmation()?
Next post Difference Between StringBuilder and String?
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Close
0
Would love your thoughts, please comment.x
()
x