[Typo3] how to get the relative "age" of a record?
Charles Rector
crector at iexposure.com
Tue May 10 17:05:38 CEST 2005
I'm looking at tt_news records. I want the age in seconds.
So, in UNIX time, if I have a datetime of 1234 and a current date of
6789, the age would be 5555.
I want to be able to get such a value in typoscript.
Daniel Doesburg wrote:
> Hi Charles,
>
> I don't know what you mean with relative (see subject)
> I don't know wich records you mean.
> But maybe this gives where you loking for:
>
> Web->Info->Pagetree overview
>
> HLOF
>
> Daniel
>
>
>
>
>
>
> Charles Rector schreef:
>
>> How do I check how old a record is?
>>
>> The only way I can think to do this is to subtract the "datetime" of
>> the record from the current date, but I'm not sure how to accomplish
>> that in typoscript -- it doesn't like math expressions?
More information about the TYPO3-english
mailing list