[Zope-DB] Problem with TALES DateTime conversion
Dieter Maurer
dieter@handshake.de
Mon, 17 Mar 2003 20:07:38 +0100
charlie@begeistert.org wrote at 2003-3-15 15:00 +0100:
> > >
> > > It just gives me 'instance' both for DateTime objects which I can
> > > convert using strftime and Date objects which I can't :-/
> >
> > Sorry, I should have known that.
> >
> > Try "str(aDateObject.__class__)", again inside your External Method.
> >
> Strange I just get DateTime.DateTime.DateTime for both types.
When both are "DateTime" objects, then you should be able to
use "strftime" for both....
Dieter