[Zope-CMF] formatting dtml-Date

Jens Quade jq@jquade.de
14 Jun 2001 01:29:07 +0200


Ben Riga <briga@borland.com> writes:

> reformatted but are probably not the dates I want.  I think that I need the
> "Date" date in an object that I can manipulate using something like:
> <dtml-var created fmt="%a %b %d">

The default DublinCore Implementation returns strings in ISO 8601? 
format. A very useful string representation of a date, but to 
reformat it you have to construct a DateTime object from it:

e.g. <dtml-var "_.DateTime(CreationDate)" fmt="...">


-- 
                                                     http://www.jquade.de/