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 2005 Forums
 Analysis Server and Reporting Services (2005)
 last day

Author  Topic 

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2008-06-04 : 06:17:31
How do I get the last day of the current month?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-06-04 : 06:20:17
SELECT DATEADD(dd,-1*DATEPART(dd,GETDATE()),DATEADD(mm,1,GETDATE()))
Go to Top of Page

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2008-06-04 : 06:29:20
Yes, but is there a functionality in SSRS to do this ?
Thanks
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-06-04 : 07:55:29
quote:
Originally posted by arkiboys

Yes, but is there a functionality in SSRS to do this ?
Thanks


Do you mean you need an expression for this in reporting services?
Go to Top of Page

arkiboys
Master Smack Fu Yak Hacker

1433 Posts

Posted - 2008-06-04 : 08:03:01
No Sure.
I was told once that this is possible in SSRS.
Not sure how.
Thanks
Go to Top of Page
   

- Advertisement -