CPSRI
asked on
Date Validation and Compare Date
Hi,
Any one help me to over come this problem, I am using Three date field drop down lists are drdYear,drdMonth,drdDay . From these drop down list i am getting date values into java script, in Java script I validating the date validations like if i select date 31 in Feb i displaying validation Properly. But My Desire is allow to select 10 days less than current/Present date and don't allow to select greater than the present current/Present date. Could any one help me.
Thank you.
Any one help me to over come this problem, I am using Three date field drop down lists are drdYear,drdMonth,drdDay . From these drop down list i am getting date values into java script, in Java script I validating the date validations like if i select date 31 in Feb i displaying validation Properly. But My Desire is allow to select 10 days less than current/Present date and don't allow to select greater than the present current/Present date. Could any one help me.
Thank you.
ASKER
HI softpro2k,
Could you suggest me how to validate that date validation using this excel function. Allowing that 10 days less than the current date. If you have any code or links send it to me. Thank You.
Could you suggest me how to validate that date validation using this excel function. Allowing that 10 days less than the current date. If you have any code or links send it to me. Thank You.
ASKER
HI ,
I am implementing this validations in Java script.
I am implementing this validations in Java script.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
You can use excel function "=Today()". This will return current date.
Now you can do all the comparison and validation as you want with respect to the returned result.
However, you may be already aware that this function entirely depends on the system date.
Regards.
A. Roy