[TYPO3-german] Frage: TypoScript Rechnen

Oliver Tempel info at olivertempel.de
Thu Oct 2 14:53:06 CEST 2014


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

-- 
------------------
Oliver Tempel
Lindenstraße 2
57080 Siegen
Tel.: 0271/55 130 91
Fax : 0271/55 130 92
E-Mail: info at olivertempel.de
WEB : http://www.olivertempel.de

Diese E-Mail, einschließlich angehängter Dateien, kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind oder diese E-Mail irrtümlich erhalten haben,  informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail aus Ihrem System. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This message, including attachments, is intended for the above-mentioned addresses only. It may contain confidential information the review, dissemination or disclosure of which is strictly prohibited. Should you receive this message in error, please delete it and notify the sender to the e-mail address indicated above.  This message, including attachments, is intended for the above-mentioned addresses only. It may contain  confidential information the review, dissemination or disclosure of which is strictly prohibited. Should you receive this message in error, please delete it and notify the sender to the e-mail address indicated above. 



More information about the TYPO3-german mailing list