[Zope] Trouble with dates in an External Method

Dieter Maurer dieter@handshake.de
Wed, 10 Jan 2001 21:44:53 +0100 (CET)


Steven Grimes writes:
 > This is a multi-part message in MIME format.
 > 
 > ------=_NextPart_000_0009_01C07A9E.4B9BD860
 > Content-Type: text/plain;
 > 	charset="iso-8859-1"
 > Content-Transfer-Encoding: quoted-printable
Please do not post MIME messages to this list!

 > ... external method does not import DateTime ...
And what error do you get?

I tried:

  from DateTime import DateTime

  def f():
    return DateTime('2001/01/09')

and there was no problem.



Dieter