Date Compare

Results 1 to 2 of 2

Thread: Date Compare

  1. #1
    Join Date
    Dec 1969

    Default Date Compare

    i have two variables <BR>"x" & "y"<BR><BR>in "x" i have stored the date field submitted by a user , and in "y" i am storing the current date from the server , now i wanted to know about the syntex od code that if i have to compare these dates <BR><BR>and if <BR><BR>x &#060; y + 10 ( Ten days plus in current date )<BR><BR>response.redirect "error.asp"<BR><BR>like if today is 2nd August , user will be redirected if his/her submitted date will be earlier then 12th August else he/she can proceed.......... looking forward for the help for the syntex<BR><BR>Thanks in Advance<BR><BR>kimzzz<BR>

  2. #2
    Join Date
    Dec 1969

    Default Look into DateDiff() (eop)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts