[Zope] A basic question

Giampiero Benvenuti giampiero.benvenuti at chiaroscuro.com
Sat Jul 14 12:53:47 UTC 2012


Hello,

I have a python script in my zope instance:

dt=DateTime(2012,1)
print dt
print dt.strftime('%Y')
print dt.year()

return printed
2012/01/01 00:00:00 GMT+2
2011
2012


Why do I get two different values for the year (2011, 2012)?

Thank you,


Giampiero


More information about the Zope mailing list