Hi Rico - dayOfYear is a method of the class DateTime so you need to call it as: <dtml-if "_.DateTime().dayOfYear()>70"> Pavlos On Tue, 22 Feb 2000, Rico Friedrich wrote:
hi there,
how to deal with the dayOfYear in dtml-if ?
<dtml-if "_.DateTime() > 70"> <dtml-var "_.DateTime()" fmt=dayOfYear> > 70 </dtml-if>
i would like to change the dtml-if so that it would be able to distinguish the two dayOfYear-integer correct. the source below isn�t correct but <dtml-if "_.DateTime() fmt=dayOfYear > 70"> doesn�t work.
thanks,
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )