Answered
Calculate Date Difference in session variable
I'm using the following to try and establish the number of
days difference between dates from two different record sets. The
result using test data should be 15, but I get 0. No code error
message, but no accurate result either. I've checked the two date
values involved, and they're returning the proper data in the
proper format...just can't get the DateDiff function to work in the
session variable...any help greatly apprciated.
Code:
<%Session("Lead")= DateDiff(,
[rsSurvey.Fields.Item("tblShipDat").Value],
[rsOrder.Fields.Item("tblValDat").Value])%>
Code:
<%Session("Lead")= DateDiff(
