[TYPO3-english] Problems with date : U -> strftime
Bert Hiddink [BENDOO e-work solutions]
hiddink at bendoo.nl
Tue May 7 17:05:39 CEST 2013
Hello Elmar,
On 7/5/13 2:53 PM, Elmar Hinz wrote:
> Try the PHP function directly outside of TYPO3:
> http://php.net/manual/en/function.date.php
<?php
echo strftime('%Y');
// Outputs "2013"
?>
I tried:
> 2.) Then you could try to go with strftime alone:
>
> temp.copyright = TEXT
> # temp.copyright.data = date:U
> temp.copyright.strftime = %A, %e. %B %Y
>
BTW: I noticed that:
temp.copyright = TEXT
#temp.copyright.data = date:U
temp.copyright.strftime = %A, %e. %B %Y
...also gives:
donderdag, 1. januari 1970
So 'temp.copyright.data = date:U' does not seem to affect output.
Any ideas?
Thanks and regards,
Bert
More information about the TYPO3-english
mailing list