Hi,

I'd like to insert a calculated date in a template .

I tried this :

[% USE date %]
[% calc = date.calc ; monday = calc.Today_and_Now ; monday = 
Add_Delta_Days(monday,7) %]
[% monday.join('/') %]

But it does not work. I think it is due to the format of monday which I
think should be 3 vars...

Any idea cos I'm blocking on this :-/
Thanks

-- 
Eco
http://www.ecocode.net
* Life is wonderful with Emacs and Perl *

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to