[Zope] KInterBasDB - datetime conversion
fowlertrainer at anonym.hu
fowlertrainer at anonym.hu
Wed Mar 10 04:07:59 EST 2004
Hello !
My problem is that: I want to load the records from an FB DB.
The KIDB is get the DateTime fields as objects.
I try with these things:
#import time
#sdate=row['LENDING_DATE'].strftime('%Y.%m.%d.')
- it is show zope's password dialog
#sdate=time.strftime('%Y.%m.%d.',row['LENDING_DATE'])
- auth error
#sdate=DateTime(row['LENDING_DATE']).strftime('%Y.%m.%d.')
- zope have been died in this line
sdate=str(row['LENDING_DATE'])
- this is working... but...
I want to show the date as hungarian format ('%Y.%m.%d.').
Anyone have the solution ?
--
Best regards,
fowlertrainer mailto:fowlertrainer at anonym.hu
More information about the Zope
mailing list