I have a text field that is backed by a java.util.Date model. When
typing in a simple date (e.g. 4/1/2009) everything is fine. But when I
type in a date including a time (e.g. 5/23/09 12:00 AM) I get a
validation error: 

 

'5/23/09 12:00 AM' is not a valid Date.

 

Obviously a date (unlike a Timestamp) should be able to accept a 'full'
date - how do I fix this?

 

Michael

Reply via email to