logo       

Re: timestamp to date: msg#00155

jakarta.velocity.user

Subject: Re: timestamp to date

Tomasz said:
> I have following question/Issue with timestamp and date in velocity.
> i have an object (LogEntry) where i have timestamp attribute.
> i put array of those objects to velocity complex, and the questio is
how easly
> convert timestamps to dates in velocity template.
> I hove no idea. maybe someone done it somehow?

the standard answer to such questions is Use-A-Tool (tm). :) in
other words, you should put another object in the context that has a
method which converts timestamps to dates.

Nathan Bubna
nathan@xxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise