Name:
Location: Bangalore, India

Sunday, November 04, 2007

Formatting Date

This is how we set date in US standard format.

<bean:write name="row" bundle="abc" formatKey="common.format.date" property='myDate' />

we specify this value in application resource bundle as
common.format.date=MM/dd/yyyy

OUTPUT: 10/26/2050


Tutorial Link: For Internationalization - I18N functionality

0 Comments:

Post a Comment

<< Home