In my script I show a customer dialoge that asks for a start and end date. Each goes into a global field (xdate_start and xdate_end).
I then run an IF statement...
IF[ not isempty(xdate_start) and not isempty(xdate_end)]
I realized that doesn't take into account if the user enters random data. How can I validate that the user enters a date into the field in the format I want? ie. 08/23/2013