[opencms-dev] Date format (day,month,year)
Joachim Arrasz
info at arrasz.de
Wed Oct 25 10:03:31 CEST 2006
Hi all,
> where is the date printed?
>
> You can format the date with java.text.SimpleDateFormat you set a
> pattern and a locale, then you can convert Timestamps, Dates etc into a
> formatted String.
use this instead of SimpleDateFormat.
http://synyx.de/api/opencms6.2.2/org/opencms/util/CmsDateUtil.html
This uses the configured DefaultLocale!
Regards Achim
--
/**
* Joachim Arrasz
* Head of technical Research
* Synyx GmbH & Co. KG --OpenCms Solution Provider--J2ME Solutions--
* Karlstr. 68
* 76137 Karlsruhe
* phone +49(0)721 66 48 79 32
* fax +49(0)721 66 48 877
* eMail joachim.arrasz at synyx.de
* www http://www.synyx.de
*/
More information about the opencms-dev
mailing list