date

robin and jim robinjim at earthlink.net
Tue May 8 18:40:51 EDT 2001


Is this what you are looking for:

>>> import time
>>> ticks = time.time()
>>> time.asctime ( time.localtime (ticks) )
'Tue May 08 16:41:13 2001'
>>>

"LC" <lco at gofuse.com> wrote in message
news:9d9obt$p9s$1 at nntp2-cm.news.eni.net...
> Can someone tell me how can I retrieve the date using Python on a Windows
> 2000 machine? TIA
>
> Leo Chen
>
>
>





More information about the Python-list mailing list