From: Tim Payne <tpayne@ma...> - 2002-09-14 03:23:11
I finally got around to installing mxDateTime for use with MiddleKit. I
was under the impression that any objects I defined as date or datetime
would accept either a string or a DateTime instance.
My servlet produced a TypeError when I tried to set the date in one of
my MiddleKit classes. It expected a string instead of the DateTime
object I threw at it. Do I need to use the mxDateTime functions to
manually convert between DateTime and strings before adding the data
through MiddleKit, or is something wrong with my servlet?
The only examples I could find using mxDateTime in the documentation was
in the MiddleKit Quick Start, where the function DateFrom is imported.
However, it doesn't appear after that.
Has anyone experienced this before? I would appreciate any help, or
maybe some example code I could compare with my own.