Hi there,
I'm using Report Designer 1.0.
I would like to add 23 hours & 59 minutes to a date.
I typed the following into the Edit Expression editor for a date parameter:
=DateAdd(DateInterval.Hour,23, Parameters!dt_DATEOFISSUE.Value) + DateAdd(DateInterval.Minute,59, Parameters!dt_DATEOFISSUE.Value)
...which doesn't work.
FWIW, the following DOES work: =DateAdd(DateInterval.Hour,23, Parameters!dt_DATEOFISSUE.Value), but I only end up with (ex) 8/8/2013 11:00PM.
Everywhere I looked only talked about adding either days, hours, minutes, seconds, etc., but wasn't able to find something that talks about adding a combination of these...
Any tips?
Many thanks,
Jens