Current date and time
dsavitsk
dsavitsk at e-coli.net
Tue Jun 20 01:28:43 EDT 2000
thanks, i knew it couldn't be that hard ...
"William Park" <parkw at better.net> wrote in message
news:20000620010356.A892 at better.net...
> On Tue, Jun 20, 2000 at 04:54:35AM +0000, dsavitsk wrote:
> > what is the easiest way to get the current date and or time?
> > something like
> > >>> print Now()
> > is what i am hoping to find.
> > thanks
> > doug
>
> >>> import time
> >>> time.ctime(time.time())
> 'Tue Jun 20 01:02:03 2000'
>
> --William
>
More information about the Python-list
mailing list