[TYPO3-english] how to convert tstamp from db to human date

François Suter fsu-lists at cobweb.ch
Mon Jul 8 11:50:54 CEST 2013


> it does`n work, after applying your code nothing is filled in input field

I think the problem comes from the fact that dataWrap is called after 
date. One solution would be to use the nested stdWrap call, i.e. 
something like this (not tested):

tmp.datetime = TEXT
tmp.datetime.stdWrap.dataWrap =
tmp.datetime.stdWrap.wrap3 = {|}
tmp.datetime.stdWrap.insertData = 1

termin = COA
termin {
      10 = TEXT
      10 < tmp.datetime
      10.date = d m Y



Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -

More information about the TYPO3-english mailing list