strftime and windows

Fredrik Lundh effbot at telia.com
Wed Feb 2 18:16:38 CET 2000


Timothy Grant wrote:
> I have some really nice code that uses the mxDateTime and strftime to
> produce lovely formatted dates. I just discovered that it won't work on
> a Win box.

what does "won't work" mean in this case?  the function
is definitely there, and it seems to work with most standard
formatting codes...

> Am I missing something, or do I actually have to write a
> function to format my dates?

if you cannot get time.strftime to behave, you can tweak
the following implementation to suit your needs:

http://www.deja.com/getdoc.xp?AN=393228953&fmt=text

</F>





More information about the Python-list mailing list