[Typo3-dev] TypoScript Date
Andreas Dolleschal
andreas at developer.at
Fri Aug 19 09:45:34 CEST 2005
Hi,
You can use some code like this:
marks.DATE = TEXT
marks.DATE {
data = date:U
strftime = %A, %e. %B %Y
}
Typo3 uses the strftime Function.
Lg
Andreas
> -----Ursprüngliche Nachricht-----
> Von: typo3-dev-bounces at lists.netfielders.de
> [mailto:typo3-dev-bounces at lists.netfielders.de] Im Auftrag
> von Nicolino Cubetto
> Gesendet: Freitag, 19. August 2005 00:11
> An: typo3-dev at lists.netfielders.de
> Betreff: [Typo3-dev] TypoScript Date
>
> How do i make a template show the current date?
>
> What i want to do is insert some text like this: "Martes 16
> de Agosto de
> 2005 - Ciudad de Buenos Aires, Argentina | Hora 17:27"
>
> Where
> "Martes" is a day of the week (Tuesday in spanish) "16" is
> the day of the month "Agosto" is the month of the year
> (August in spanish) "2005" is the year "17" is the hour of
> the day "27" is the minute of the hour
>
> everything else is fixed string
>
> i have already mapped an element in tha templavoila template
> and selected "lib.curdate" as the typoScript object path
>
> the issue is that i cannot find any language reference for TS
> that explains how to do this
>
> Cheers
> Nicolas
>
> PS: will this work with the TimeZone extension?
>
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list