How about something like: <s:text name="format.date.short"><s:param value="${new Date(value)}"/> <s:text name="format.time.short"><s:param value="${new Date(value)}"/>
(disclaimer: haven't actually run it yet) Tobin On Thu, Oct 16, 2008 at 11:42 AM, Pablo Vázquez Blázquez < [EMAIL PROTECTED]> wrote: > Hi, > > I have a long representing a date. How can I get the date and time > associated in a jspx? > > I tried: > > format.date.short={0, date, short} > format.time.short={0, time, short} > > <s:text name="format.date.short"><s:param value="${value}"/> > <s:text name="format.time.short"><s:param value="${value}"/> > > But it gives me "null null", for instance with value = 1224170724804 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >