[jboss-user] [JBoss Seam] - Date
KoniKoni
do-not-reply at jboss.com
Tue Feb 20 15:06:56 EST 2007
//get aktuell locale
| Locale locale = localeSelector.getLocale();
|
| //make calendar
| Calendar cal = new GregorianCalendar( TimeZone.getTimeZone("ECT") );
|
| //format date to locale
| DateFormat formater = DateFormat.getDateInstance(
| DateFormat.FULL, locale );
| this.actdate = formater.format(cal.getTime()).toString();
how can i output date such date on page?
need i entity bean with attribute or there are quicky possibility?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019525#4019525
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4019525
More information about the jboss-user
mailing list