Current date and time

Michael Abbott michael at rcp.co.uk
Wed Jun 28 12:24:39 EDT 2000


Try
    time.strftime('%A %d %B %Y %H:%Mhr', time.gmtime(time.time()))

The library documentation is quite adequate to tell us this.

"Aeneas @hotmail.com>" <shan_mu<nospam> wrote in message
news:395017fb at newsprime.tidalwave.net...
> How do you format the result as--
> "Tuesday  20 June 2000  21:18hr" ?
> Thanks.






More information about the Python-list mailing list