[Typo3] Current date problem

Dmitry Dulepov typo3 at fm-world.ru
Wed Nov 9 09:24:25 CET 2005


Hi!

Livius Agrippa wrote:
> I have inserted in TSscript the code below:
> temp.DATE = TEXT
> temp.DATE {
>    data = date:U
>    strftime = %A, %e. %B %Y
> }
> to show the current date on the page
> But in fact the pages are rendered from the cache and if I don't delete
> the cache every day, "the current day" is not exactly the current day.
> 
> How can I delete automatically the cache every day? Or if somebody else
> had this problem before and knows a better solution.

There are two options for this, one sets cache timeout, another clears
cache at midnight. TSRef document is your best friend :)

Dmitry.



More information about the TYPO3-english mailing list