Solved! Go to Solution.
Sorry to bring up an old thread. The code helped. At least in LV 2009 an input of day 0 shifts the month back to the last day of the previous month. I don't like that behavior so I added an extra check for this.
Your solution is not completed.
I wanted to check if a date (YYMMDD) is valid or not . I minds that have more control than check that the day is comprised between 0-31 and month between 0 and 12. I wanted to advoid for example that the operator introduce a wrong barcode (ex 31 feb 2015 = 150231).
Thanks for your helps