Use Calendar, more than likely the concrete GregorianCalendar.
Calendar.setField(<field>, <field value>); x3
Calendar.getTime() -> Date
From: Erez Efrati <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: Birthdate validation ? Date: Wed, 23 Jul 2003 21:03:53 +0200
I have a birth date field composed of three different fields of day month and a year. Now, what is the best way to receive those three and combine them into a java.sql.Date class and performing validation using the validator?
Hope someone been there done that..
Thanks, Erez
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]