Time...

Alex Martelli aleaxit at yahoo.com
Tue Apr 3 15:12:39 EDT 2001


"Vincent A. Primavera" <vincent_a_primavera at netzero.net> wrote in message
news:mailman.986318285.21722.python-list at python.org...
> Hello,
> Does anybody have an example of how to use a simple time object to show
the
> system date and time in detail?

You mean, something like:

>>> import time
>>> time.asctime(time.gmtime(time.time()))
'Tue Apr 03 19:11:43 2001'


...or what?


Alex







More information about the Python-list mailing list