[TYPO3-mvc] How to convert UNIX timestamp to date?

Oliver Salzburg oliver.salzburg at googlemail.com
Fri Mar 23 14:17:49 CET 2012


I currently use the following markup:
<f:link.action action="download" arguments="{id:download.uid}"
title="{f:format.date(date:download.fileTime)}">something</f:link.action>

Which is great, if download.fileTime would be prefixed with an "@".
But it isn't, so format.date throws an Exception :(

How do I solve this correctly?

Cheers
Oliver



More information about the TYPO3-project-typo3v4mvc mailing list