Re: change date format



[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)
.



Relevant Pages