[Zope] Examples of using the fmt attribute

Sandy Donaldson sandy@taskforce.co.uk
Wed, 30 Oct 2002 09:43:17 -0000


Hi Everyone,

Very new to this list, first post in fact.

Can anyone help me with the fmt atribute of DTML, or at least point me to
some examples ...

Consider the following:

  I need to format 2001-12-31 00:00:00.00 as 31-12-2001
  I need to format 0.00 as nothing (leave blank)
  I need to format -2,782.50 as 2,782.50 (absolute)

Can anyone help?

Thanks in advance

Best Regards,

Sandy Donaldson
+------------------------------------------------------------+
| TaskForce Systems Ltd, Jersey             +44 1534 632 100 |
| TaskForce Research Limited, Cardiff, UK   +44 2920 504 090 |
| http://www.taskforce.co.uk                                 |
| eMail : support@taskforce.co.uk (For support issues)       |
|       : research@taskforce.co.uk (For R&D issues)          |
+------------------------------------------------------------+