[ZPT] zpt compare repeat

jamie@f-resource.com jamie@f-resource.com
Mon, 27 Jan 2003 07:06:47 -0500 (EST)


Hi,  ima newbie and maybe someone can give a hint please;)

What I am trying todo is compare zopetime against a preinserted date
in a sql table in the format xxxx/xx/xx

So if the date is == to zope time all rows with the matching date are
displayed.


<tr tal:condition="python:here.ZopeTime().strftime('%m/%d/%Y')== 'db/date'">

<span tal:repeat="db here/selectallsched">

or


       <span tal:repeat="db here/selectallsched">

<tr tal:condition="python:here.ZopeTime().strftime('%m/%d/Y') == 'db/date'">


neither work?



Thank you;