Link to home
Create AccountLog in
Avatar of Aleks
AleksFlag for United States of America

asked on

Redirect if date equal or after the one in database

I am using classic ASP/VBScript, MS SQL 2000 and Dreamweaver.

I have a recordset which has a field with an expiration date:

<%=(QnrId.Fields.Item("Expireson").Value)%>

In this ASP VBscript page i want to add a redirect to: expired.asp if the date on the recordset is equal or before today's date.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer