[Python-de] Re: datumsausgabe
frankimmich at gmx.de
frankimmich at gmx.de
Mon Oct 14 17:47:56 EDT 2002
> frankimmich=Mmb7MZpHnFY at public.gmane.org
> <frankimmich=Mmb7MZpHnFY at public.gmane.org> [2002-10-14 12:18 GMT]:
> > 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?
>
> Wenn du das selbe in einem VBA-Makro in Outlook ausführst, kommt auch das
> selbe
> raus, oder?
Entschuldigung...das hätte ich vielleicht mal ausprobieren sollen...
Ich hatte gegoogelt, dass msg.ReceivedTime die Python "Format" Methode
unterstützt...
VBA:
>> Debug.Print objMsg.ReceivedTime
14.10.2002 16:10:09
wo nichts ist kann auch nichts rauskommen.
Wie komme ich denn jetzt an den Wochentag !?!
:-) naja das muss ich wohl selber schaffen..
Danke für die Tipps
>
> Ich hab leider auch keine Ahnung, vielleicht stimmt der
> Formatierungsstring für
> den Wochentag nicht?
>
> -- Gerhard
>
>
>
> _______________________________________________
> Python-de maillist - Python-de at starship.python.net
> http://starship.python.net/mailman/listinfo/python-de
>
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
More information about the Python-de
mailing list