Date Validation Script
I need a script to validate the status of a customers warranty comparing date of purchase to today’s date.
Their will be two user input points
Dropdown Box for Manufacturer
Display Motorola = value 1 year (365)
Display CalComp = value 3 months (90)
Purchase date date picker/calendar
when leaving either box the script would calculate the status of the warranty displaying either your warranty is expired and direct the user to page A
or you have xxx days remaining in your warranty and direct the user to page B
This will be running on a php page which is part of a multipart form so the script must be compatible I belive javascript would work fine.