Reputation: 373
Please could someone help me in getting the below issue sorted?
I am looking for a default Date Parameter (Start Date) to be Last 30 days from Today along with the Time e.g 30 days from now is 24/05/2016 but would like to include Time as well 24/05/2016 07:00:00
I have an expression which only give me Last 30 days date Expression i have is =DateAdd("d",-29,Today())
Regards
Upvotes: 2
Views: 7681
Reputation: 2139
SSRS Expression to get 30 days back from today using DateAdd function:
=DateAdd(DateInterval.Day, -30,Today())
Upvotes: 0
Reputation: 14108
Try:
=Now.AddDays(-30)
UPDATE: Default time
=Today.AddDays(-30).AddHours(7)
Let me know if this helps.
Upvotes: 5