Current date and time
Michael Abbott
michael at rcp.co.uk
Wed Jun 28 12:24:39 EDT 2000
More information about the Python-list mailing list
Wed Jun 28 12:24:39 EDT 2000
- Previous message (by thread): Current date and time
- Next message (by thread): Python sockets/select
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): Current date and time
- Next message (by thread): Python sockets/select
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list