Thread: Date Difference
View Single Post
  #1 (permalink)  
Old Aug 21st, 2003, 17:02
ekendricks ekendricks is offline
Junior Member
Join Date: Aug 2003
Location: USA
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Date Difference

Thanks a million for all the help so far !

What I'm trying to accomplish here is to show a link if the Todays date is equal to or not more that 10 days for the date the record was added. I have tried tons of combinations of +10, -10 etc and get a script error.

<%
If FormatDateTime(Date(), VbLongDate) =< FormatDateTime(DateAdded, VbLongDate) Then

response.write("Page Background")

Else
response.write "Page Background"

End if
%>

Thanks for all assistance

Ernest L. Kendricks