strftime and windows
Ulf Engstrøm
b2blink at hotmail.com
Wed Feb 2 15:38:33 EST 2000
Don't know how you format your dates or what you use the mxDateTime for, but
the strftime works fine on my windows (2000,98,NT,Millenium).
>>>import time
>>>time.strftime('%Y-%m-%d',time.localtime(time.time()))
'2000-02-02'
If there's something special you have problems with, specify and I'll try to
help
>Hi all,
>
>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. Am I missing something, or do I actually have to write a
>function to format my dates?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
More information about the Python-list
mailing list