Module on Getting the Date & Time

Whoami whoami_1972 at tom.com
Tue May 10 07:36:07 EDT 2005


Simon Brunning,您好!


>>> import time
>>> current = time.time()
>>> time.localtime(current)
(2005, 5, 10, 19, 28, 14, 1, 130, 0)
>>> time.ctime(current)
'Tue May 10 19:28:14 2005'

======= 2005-05-10 19:09:42 您在来信中写道:=======

>On 5/10/05, Sara Khalatbari <sarapythonlist at yahoo.com> wrote:
>> Is there a Modules in Python that returns the time &
>> date of today when ran?
>
>http://www.google.com/search?q=python+time+date
>
>-- 
>Cheers,
>Simon B,
>simon at brunningonline.net,
>http://www.brunningonline.net/simon/blog/
>-- 
>http://mail.python.org/mailman/listinfo/python-list
>

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!
 
				 
        Whoami
        whoami_1972 at tom.com
          2005-05-10



More information about the Python-list mailing list