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

DateDiff to show working days

$
0
0
HelloI have set up a calculated field in a report to show the number of days between a job start and end date. I am using T-SQL:=DateDiff("D", fields!jobstartdate.value, fields!jobenddate.value)This works fine, but is of course including weekends in its calculation. Is there a way, using datediff, I can include working days only?Any insight appreciated - thanks.

Viewing all articles
Browse latest Browse all 2791

Trending Articles