[Zope] using if with date values

Herring, William O. HerringW@missouri.edu
Wed, 15 Nov 2000 16:24:23 -0600


I would like to insert into the this sql table the form variable birth.x.
I would like to do it only if the date variable identification.birthdate is
greater the that listed below.  I know the current 'if' statement is
incorrect and probably not even close.  However, I haven't been able to find
any documentation.  Any ideas or solutions would be appreciated.

<!--#if expr="identification.birthdate > '08/01/2000' "-->
INSERT INTO inventory
      (x)
 VALUES ( <!--#sqlvar birth.x type=string --> )
<!--#/if-->