To calculate the number of days among two dates.
<%
todayDate = Now()
finalDate = CDate ("31/7/2006")
remaining = DateDiff("d", todayDate, finalDate)
Response.Write "difference is: " & GiorniRestanti & " days"
%>
![]()