[Zope] DateTime() and ZopeTime() Thanks
yan zhang
yanzhang868@yahoo.com
Fri, 11 Jul 2003 11:22:10 -0700 (PDT)
Thanks All.
Yes, I tried DateTime() and ZopeTime() separately in a
dtml method like:
<dtml-var expr=_.DateTime()>
<dtml-var expr=ZopeTime()>
It returns same value. But when I use the Zopetime()
in my database ZSQL method, like
<dtml-sqlvar expr=ZopeTime() type="string">,
it will give error messages:"Attribute Error:
ZopeTime Attribute"
But when I change to:
<dtml-sqlvar expr=_.DateTime() type="string">,
It works well.
I just feel confusion. Any way, thansk so much for all
your suggestion.
yan
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com