java date and time manipulation?
hello all im trying to write a quick function to check if a date exists, if so place it into a string i.e.
i have three text boxes txtDay, txtMonth, txtYear;
i was trying something like this:
GregorianCalendar gc1 = new GregorianCalendar( year, month, day );
in theory if i was to enter a string into one of the text boxes it should throw a paddy because its not a date. however its not.
basically i want a function to return true if i enter something like 10/07/1984 (uk date format) and false if i enter 10/99/1984
cheers, trscookie.
|