Hello,
I am about to write a function to hopefully validate a date in the
form mm/dd/yyyy. Stripping out the '/' is OK, and also reading in the
dd , mm and yyyy.
I was thinking on the validation part, to use a case statement for the
month ( 1 - 12), and then within that case a further case statement
to trap validate the day, then do the year outside of the main case
statment.
Is there a better way. I am using Bourne, but if it gets to complicated
I will switch to perl.
Regards,
Peter.
Sent via Deja.com http://www.deja.com/
Before you buy.