Does any one has Date Tool for VTL, please let me know

-----Original Message-----
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 12:27 PM
To: Velocity Developers List
Cc: Velocity Developers List
Subject: Re: DAte comparison


"Nuggihalli,Naren" <[EMAIL PROTECTED]> wrote:
> Can any one help me comapre dates
> 
> 
> I want something like this
> 
> #if $asset.getDateAttribute("Date", ,"dd MM yyyy") <= ("02042004")
> 
> Nice and cool
> 
> #end

Your best bet is to write a date comparison tool rather than try to do this 
at the template level.

DateTool might already do this.

If not, it should be simple enough to write a date comparision tool.

-Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to