[Zope] Python DateTime()

Israel Carr icarr at compxnet.com
Thu May 6 10:11:40 EDT 2004


I'm trying to use the following line to insert current date:

DateTime.strftime(%m-%d-%Y)

... and get:

unbound method strftime() must be called with instance as first argument


If I just use: 

DateTime()

..I get current date, just not the format I want.

Ideas?

Thanks for your help.
Israel




More information about the Zope mailing list