// JP opened flex table

Click to See Complete Forum and Search --> : Date check


Andre P R
November 8th, 2001, 03:11 PM
hi!

i have a problem checking a date.
i have a date string like "01/01/2001". it comes from a html form filled out by the user.. so it can be a wrong string.. like "01/34/2001", so i need to ckeck the date typed by the user and if its possible to convert for a Date() iŽll do this, if not, i want to send a message providing information and avoid type mistakes.
thanks a lot....
andre

poochi
November 8th, 2001, 03:19 PM
java or java script ???

If it is a java question, my suggestion would be , use "SimpleDateFormat" class.

//JP added flex table