[Zope] datetime year to minute
Nick Garcia
ngarcia@codeit.com
Fri, 20 Aug 1999 10:14:00 -0700 (PDT)
A more elegant way to do it would be:
<!--#var ZopeTime fmt=%Y-%m-%d--> <!--#var ZopeTime fmt=%H:%M-->
Nick Garcia | ngarcia@codeit.com
CodeIt Computing | http://codeit.com
On Fri, 20 Aug 1999, Rob Page wrote:
> > Anyone know how to generate the current datetime year to minute when a
> > page loads in the format:
> >
> > yyyy-mm-dd hh:mm ?
>
> <!--#var ZopeTime fmt=year-->-<!--#var ZopeTime fmt=mm-->-<!--#var
> ZopeTime fmt=dd-->
> <!--#var ZopeTime fmt=hour-->:<!--#var ZopeTime fmt=minute-->
>
> The DTML docs have a full set of DateTime fmts at:
>
> http://www.zope.org/Documentation/Guides/DTML/DTML-HTML/DTML.16.html
>
> --Rob
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>
>