commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bingel, Michael" <>
Subject [beanutils] How to convert from Date to (formatted) String ?
Date Tue, 13 May 2003 07:08:54 GMT

I have a problem copying Dates to my struts form bean
and displaying them, because they are always converted
to the extended format "Wed Jan 01 00:00:00 CET 2003",
which I can not parse as input.

Is it possible to create a DateToString Converter to 
get a format like "yyyy-MM-dd HH:mm:ss" ?

Will the BeanUtils.copyProperties() use the converter ?

thanx   Mike

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message