October 16, 2012 at 4:14 am
Hi geniuses,
How do I add days to a date in an expression.
Field: payment_date
and I want to add 15 days to that date
Thanks!
Regards
October 16, 2012 at 6:13 am
In the Expression editor, under the Common Functions in the Category window look at the Date & Time functions. Use the DateAdd() function.
=DateAdd("d", 15, Fields!payment_date)
HTH,
Rob
October 16, 2012 at 7:02 am
Thanks!
And If I want to add 15 days to todays date?
Regrdas
October 16, 2012 at 8:03 am
=DateAdd("d", 15, Now)
HTH,
Rob
October 16, 2012 at 8:19 am
Thanks
=DateAdd("d", 15, Today)
Works also
Regards
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply