List Info

Thread: USEing date




USEing date
user name
2006-05-13 15:04:23
Hi all,

Tried this:

[% USE date(format = '%Y,%m,%d') %]
[% calc = date.calc %]
[% today = calc.Day_of_Year(date.format) %]

thinking to avoid using split (which works).
Is this not possible?

Thanks,
Jon


_______________________________________________
templates mailing list
templatestemplate-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/t
emplates
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )