Mike said:
I tried what you recommended and got the following error:
Error Type: AttributeError
Error Value: __getslice__
The problem I think is that the variable is drawn from the database as
type
date (Microsoft Access 2k) and somehow is cast into a date type. Is there
a
way to
Just a thought:
Have you tried using "_.str(thedate)" to convert it into a string? I am
not using Access, but since Zope can handle the Access date stuff
properly, it may be using something like _.str() internally. It's what
I would try first.
-- Jim Washington
"Spicklemire, Jerry" wrote:
I tried what you recommended and got the following error:
Error Type: AttributeError
Error Value: __getslice__
The problem I think is that the variable is drawn from the database as type
date (Microsoft Access 2k) and somehow is cast into a date type. Is there a
way to re-cast this variable as
dtml-var "_.string.split(start_date, '/')[1]"
will be the 2nd element of the start_date, in this case mm
--
Andy McKay, Developer.
ActiveState.
- Original Message -
From: "Mike Kelland" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 04, 2000 1:14 PM
Subject: [Zope]