Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

DISPLAY CURRENT RUN TIME -12 HOURS IN REPORT HEADER

$
0
0
I am trying to display the report time frame in the header of the report. I have a report that retrieves date from current date - 12 hours. I am not I I tried below and I get yesterday. =DATEADD("h", -12,(today))if I run the report at 7:00 am I would like the start date to show mm/dd/yyyy 7:00 pm and the end date to show mm/dd/yyyy 7:00 am. I have no problem for my monthly reports [center]First day of last month:=dateadd("m",-1,dateserial(year(Today),month(Today),1)) [/center][left][/left]can someone please help???

Viewing all articles
Browse latest Browse all 2791