[TYPO3] Another date format issue
Stefan Aichholzer
stefan at aichholzer.name
Wed Aug 20 14:07:35 CEST 2008
Yes, I saw that, my question is how to apply that (or date) to a certain
field from the select, something like:
page.10.subparts.containers = CONTENT
page.10.subparts.containers {
table = tt_content
field = date
date = d/m/Y
select{
where = colPos=0
andWhere.insertData=1
andWhere=uid={GPvar:faq}
andWhere.if.isTrue.data=GPvar:faq
}
}
But that does not work of course. Do you know what I mean?
Thank you
Bas v.d. Wiel wrote:
> Stefan,
> Check the same TSRef chapter on stdWrap, you'll find a strftime item
> just below the section where you found 'date'.
>
> Bas
>
> On Wed, 2008-08-20 at 13:53 +0200, Stefan Aichholzer wrote:
>> Assume this:
>>
>> page.10.subparts.containers = CONTENT
>> page.10.subparts.containers {
>> table = tt_content
>> select{
>> where = colPos=0
>> andWhere.insertData=1
>> andWhere=uid={GPvar:faq}
>> andWhere.if.isTrue.data=GPvar:faq
>> }
>> }
>>
>> Is display something like this:
>>
>> 08/08/2009
>> The header
>>
>> The text
>>
>>
>> As that is the way it's stored. Now, is there a way to format that date
>> shown from the select above?
>>
>> As usual thanx a million!
>>
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
--
Stefan Aichholzer
http://aichholzer.name
stefan at aichholzer.name
(+34) 691.477.394
More information about the TYPO3-english
mailing list