AW: [Python-de] datumsausgabe
Josef Cihal
josef.cihal at irm.at
Mon Oct 14 15:41:00 EDT 2002
hi,
Kannst Du nicht fuers Formatierungen modul rfc822 benutzen?
Wielleicht hilft es Dir...
lg
josef
m = rfc822.Message(f)
aFrom= m.getaddr('from')
aDate= m.getdate('date')
-----Ursprüngliche Nachricht-----
Von: python-de-admin at python.net [mailto:python-de-admin at python.net]Im
Auftrag von frankimmich at gmx.de
Gesendet: Montag, 14. Oktober 2002 14:19
An: python-de at python.net
Betreff: [Python-de] datumsausgabe
Hallo zusammen,
kurze Frage..
ich gebe mit win32com.client aus MS Outlook folgendes aus:
>> print msg.ReceivedTime.Format("%a, %d %b %Y %H:%M:%S")
michi, muster daten von as, aif20021412 Sun, 07 Oct 2002 13:14:47
in outlook
sieht die Zeile aber so aus:
michi, muster daten von as, aif20021412 Mo 07 Oct 2002 13:14:47
auch bei anderen mails bekomme "So" und nicht "Mo"..
was mache ich falsch?
Danke für Tipps
Ciao Frank
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
_______________________________________________
Python-de maillist - Python-de at starship.python.net
http://starship.python.net/mailman/listinfo/python-de
More information about the Python-de
mailing list