Re: change date format
- From: Lars Gustäbel <lars@xxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 12:36:49 +0200
[Xah Lee]
> Apache by default uses the following format for date:
> 30/Aug/2005
>
> is there a module that turn this directly into yyyymmdd?
Use time.strptime() and time.strftime().
Not a single occurrence of the f**k word. You're making progress. Keep it up!
--
Lars Gustäbel
lars@xxxxxxxxxxxx
Truth is the invention of a liar.
(Anonymous)
.
- References:
- change date format
- From: Xah Lee
- change date format
- Prev by Date: change date format
- Next by Date: Re: Python doc problems example: gzip module
- Previous by thread: change date format
- Next by thread: Re: change date format
- Index(es):
Relevant Pages
|
|