validation - Validating given date (Ex-14/2/2012) is in format mm/dd/yyyy in dynamics ax x++ -
If present then if exists in IFAP, then I have to validate that the date is in mm / dd / yyyy format I give 14/1/2015 then he should give an error because the mm can not be 14. Mm should be maximum value 12. Somebody can help me Thank you.
date d = str2Date ('14 / 1/2015 ', 213); // Check for error if (! D) {error ("Your message ...");}
Comments
Post a Comment