Query system date

Oleg Broytmann phd at emerald.netskate.ru
Thu Sep 9 10:38:51 EDT 1999


On Thu, 9 Sep 1999 mdperry_26 at my-deja.com wrote:
> I am new to python and I am trying to figure out how to return the
> computers system date and time and then format it as MM-DD-YYYY.  I have
> searched the documentation up and down and have not found anything about
> how to accomplish this.  Any help would be greatly appeciated.

   Reread docs on builtin "time" module. You need time.time(), localtime()
and so on...

> Thanks,
> 
> Mark.

Oleg.
---- 
    Oleg Broytmann        Netskate/Inter.Net.Ru        phd at emerald.netskate.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list