Am 02.10.14 14:53, schrieb Oliver Tempel:
Hallo Zusammen,

ich würde gern die Dauer zwischen zwei Timestamp Feldern berechnen und
die Ausgabe in Form von :
Dauer: 1 Std
oder 36Min, etc machen

Das ganze bezieht sich auf die Felder starttime und endtime von tt_news

ich habe jetzt in den genericmarkern zu stehen:

dauer = COA
dauer{
   10 = TEXT
   10.field = starttime
   20 = TEXT
   20.value = -
   30 = TEXT
   30.field = endtime
   prioriCalc=1
   }

statt die Felder zu berechnen, gibt er mir alles als Text aus also:
123123213213-123213213213213

wo liegt hier mein denkfehler


evtl
stdWrap.prioriCalc = 1
?

Aus TSREF:
The content object "TEXT" can be used to output static text or HTML.

stdWrap properties are available under the property "value" and on the very rootlevel of the object.
[...]
stdWrap properties are available on the very rootlevel of the object. This is non-standard! You should use these stdWrap properties consistently to those of the other cObjects by accessing them through the property "stdWrap".


bernd
--
http://www.pi-phi.de/cheatsheet.html
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an