You can tell to use any A compatible promise implemention like this: There are already many validation libraries out there today but most of them are very tightly coupled to a language or framework.The goal of is to provide a cross framework and cross language way of validating data.In this article I am going to explain how we can validate two dates using custom-validator.
HTH Michael" id="ctl00_m_m_i_ctl00_gr_ctl01_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="708866" / 365*18 older than 18 else not older than 18 End if You will need to make sure that the dates are the same format.
The accurate way would be to determine the number of leap years between date and birth date and add that number to the calculation date - birthdate clicking on DOB using when validate item?
Sorry I probably appear a little thick but I'm new to this." id="ctl00_m_m_i_ctl00_gr_ctl05_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="708934" /You can add (18*12 = 216) months to the date of birth and subtract this value from sysdate.
If the value is positive then the person is above 18 years.
For more information about data types, field sizes, and input masks, see the article Introduction to data types and field properties.