22 Feb
2000
22 Feb
'00
6:11 p.m.
Rico Friedrich schrieb:
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.
<dtml-let zeit="_.DateTime()"> <dtml-if "zeit.dayOfYear() >70" > ... </dtml-if> </dtml-let> should work. hth, Thomas -- fon: ++49 (0)40 42878 3781 fax: ++49 (0)40 42878 2728