joebeachcomber
MIS
In our SQl database our projects have a start and an end date. I am trying to calculate the number of days that each project lasts. I have tried both
DateDiff ('D', startdate, enddate)
and
(enddate - startdate)
and I get the same results. All projects equal to zero days whether it was the same date or 15 days difference in the start and end dates.
Thoughts?
DateDiff ('D', startdate, enddate)
and
(enddate - startdate)
and I get the same results. All projects equal to zero days whether it was the same date or 15 days difference in the start and end dates.
Thoughts?