Printable time
Dale Strickland-Clark
dale at out-think.NOSPAMco.uk
Mon Dec 4 11:41:34 EST 2000
Carsten Gaebler <cg at schlund.de> wrote:
>Dale Strickland-Clark wrote:
>
>> Is there a more succinct way of getting the current local time as text than:
>> time.strftime('<format>', time.localtime(time.time()))
>
>
>time.ctime(time.time())
>
>
>cg.
Thanks.
It's always struck me as a bit strange that none of the time functions will use the current time as
a default if none is specified.
--
Dale Strickland-Clark
Out-Think Ltd
Business Technology Consultants
More information about the Python-list
mailing list