IMAP4 SEARCH question

Laszlo Nagy gandalf at designaproduct.biz
Fri Dec 8 11:27:54 EST 2006


Laszlo Nagy wrote:
> Sorry, I found it:
>
> date            = date-text / DQUOTE date-text DQUOTE
> date-day        = 1*2DIGIT ; Day of month
> date-day-fixed  = (SP DIGIT) / 2DIGIT ; Fixed-format version of date-day
> date-month      = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun" /
>                   "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec"
> date-text       = date-day "-" date-month "-" date-year
>
>
>
> Is there a standard way to convert a datetime to this special, format or 
> should I write my own function?
If anyone is interested.

Keywords: IMAP, RFC3501, date format, search

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: IMAPDate.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20061208/9085a793/attachment.ksh>


More information about the Python-list mailing list