-------- Original Message --------
Subject: Re: produce the same output as Unix's date command
Date: Thu, 05 Apr 2012 22:07:42 +0100
From: Mark Lawrence <breamore...@yahoo.co.uk>
Newsgroups: gmane.comp.python.general
References:
<caoujsmm5vjwzf9a9mkjuz1zhpff57dpzzaop8ribg9qrb4n...@mail.gmail.com>
On 05/04/2012 21:52, Jabba Laci wrote:
Hi,
Unix's date command produces this output (example):
Thu Apr 5 22:49:42 CEST 2012
I would like to produce the same output with Python, without calling
"date" externally. Before doing it I'd like to ask the list if anyone
has an existing solution for this.
Thanks,
Laszlo
See
http://docs.python.org/library/datetime.html#strftime-and-strptime-behavior.
--
Cheers.
Mark Lawrence.
--
http://mail.python.org/mailman/listinfo/python-list