[Typo3] current timestamp in TS?

Horn Gábor horn.gabor at aktiv.co.hu
Tue Jun 28 22:41:38 CEST 2005


I'm using mailformplus ext to store FE user submitted forms. I made a db 
table for that which contains a tstamp field which i wanna fill with the 
unix timestamp when a record get stored. But unfortunatelly i couldn't 
find a way how could i store it? Here's my Ts for the mailformplus:

plugin.tx_thmailformplus_pi1.saveDB = 1
plugin.tx_thmailformplus_pi1.saveDB {
  dbTable = my_table
  # if dbkey is not set: "uid" is taken
  dbkey =uid
  # [inputFieldName]:[DBName]

I don't know where should i add tstamp field? To dbinsert or mapping 
part and with what value? I've tried:


But it didn't work. If there's a way to insert the timestamp as a hidden 
field in the form generated by mailformplus from a form template file, 
that would be good also, because from that point i could use the mapping 

Can you help me please?

thx, hirisov

More information about the TYPO3-english mailing list