6 May
2004
6 May
'04
2:18 p.m.
Methods can only be called on instances not on classes. -aj --On Donnerstag, 6. Mai 2004 10:11 Uhr -0400 Israel Carr <icarr@compxnet.com> wrote:
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
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )