In article <007301bf864d$e4f92440$2101a8c0@pavilion>, Loren Stafford <lstaffor@dynalogic.com> writes
I don't have a direct answer to your question; but I thought I'd mention (in case you hadn't are ready seen them) the date-handling features built into DTML that make this kind of transformation easy. Check out Appendix A of http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.html
-- Loren
Thanks, however I think they only work on date objects. There is a DateTime() function to create date objects mentioned in the DTML guide, but it doesn't seem to be documented. Nevertheless, I would be interested in why atoi does not work for me. ------- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin