You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ryan Pan <pa...@gmail.com> on 2005/12/15 11:25:53 UTC

Is there any way to display a Date as text in the format I wondering?

Hi all,
    I met a problem with displaying the a Date variable as text. I even can
not choose the display format of Date.
    For example: a Date variable "Date today = new Date()" which will be
displayed as "Thu Dec 15 00:00:00 CST 2005" on front-page,while
what I wanna is "2005-12-15".
So I am looking forward a way to solve this problem.

Thank,
Ryan.