[Zope] Getting a date into an object title - DON'T Disregard

Jason Cunliffe jasonic@nomadicsltd.com
Sat, 31 Mar 2001 03:35:03 -0500


Tim

This is wonderful! Thank you so much.. I wish all Zope docs had such
straightahead useful & comprehensive examples.

best wishes
- Jason
___________________________________________________________
Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']


----- Original Message -----
From: Tim Cook <tim@freepm.org>

...snip...

> Since you want to sort by the date I would recommend the ISO()
> method.
> Below is a little DTML Method that will show you the results of
> most of the date formatting in Zope.
> HTH,
> Tim
>
> ------------------------------------------------------------
> <dtml-var standard_html_header>
> <h2>Display the date formats available in Zope</h2>
> <p>
> <dtml-let e="_.DateTime()">
> <ul>
> <li> strftime(%a) --> <dtml-var expr="e.strftime('%a')"></li>
> <li> strftime(%A) --> <dtml-var expr="e.strftime('%A')"></li>
> <li> strftime(%b) --> <dtml-var expr="e.strftime('%b')"></li>

..etc..