[Typo3] Date calculations in typoscript

Ries van Twisk typo3 at rvt.dds.nl
Wed Feb 16 20:09:58 CET 2005


Peter Klein wrote:

>Hi Ries				
>
>Do your calculations on the date in unix format, then display it in the format you want..
>
>Take a look at the annotation at the bottom of this page..
>http://typo3.org/documentation/document-library/doc_core_tsref/TMENUITEM/
>
>
>- Peter Klein (pmk65)
>
>  
>
Peter,

thanks for the tip:

I have it like this now:

page.headerData.5 = TEXT
page.headerData.5 {
    cObject = TEXT
    cObject.data = date:U +86400
    prioriCalc = intval
    date = D, j M Y H:i:s \G\M\T
    wrap = <meta http-equiv="expires" content="|">
}

cheers,
Ries

-- 
R. van Twisk
http://www.metamorf.net

Our Typo3 enabled website: http://www.livetravelguides.com
Instand help for Typo3?    irc:/irc.freenode.net/typo3
Looking for documentation? http://typo3.org/documentation/





More information about the TYPO3-english mailing list