try this kind of whacky line:

from DateTime.DateTime import DateTime

you can then do

date1= DateTime(str1)
date2= DateTime(str2)
if date1==date2:

  Andy McKay.

----- Original Message -----
From: "Steven Grimes" <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 10:43 PM
Subject: [Zope] Trouble with dates in an External Method

I'm having trouble using dates in an external method. I can't get it to
import the python DateTime module. I need to compare two dates which are in
string form in the external method. I know that this isn't a good
description of what I'm trying to do but I'm new to Zope development. If
this should go to a different mailing list please let me know.

Thanks in advance for any help,

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to