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 ...");}
< / Html>

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -