Groups | Blog | Home
all groups > sql server reporting services > july 2006 >

sql server reporting services : datediff



florian
7/25/2006 8:14:09 AM
Hi,

I'd like to calculate the days between 2 dates (data type:datetime).
unfortunately all I get in the preview report is #error and nothing
else. the 2 used date fields work when used seperately.

=DateDiff("day", Max(Fields!Date.Value), Min(Fields!Date.Value))


thanks!
florian
7/25/2006 8:49:00 AM
thanks it works!!!!



Ben Watts schrieb:

[quoted text, click to view]
Ben Watts
7/25/2006 10:19:21 AM
instead of using the word "day" use "d"
[quoted text, click to view]

AddThis Social Bookmark Button