[Zope] Date

Tony McDonald tony.mcdonald@ncl.ac.uk
Fri, 4 Jun 1999 11:19:54 +0100


At 10:58 am +0100 4/6/99, SERVEL Yannick wrote:
>Hi everybody!
>
>I have to create a mail sender program (via SMTP protocol) and I don't know
>how to fulfil the Date field. Which module must I use in order to retrieve
>the date in the correct format.
>

In appendix A of the DTML users guide (www.zope.org/Documentation) 
there is a big list of formats for date-time data...

Perhaps this,
<!--#var ZopeTime fmt=rfc822-->

which yields
Fri, 04 Jun 1999 11:15:56 GMT

might do it?
tone
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2