Leela
I'm new here

System Date

How to save current system date automatically into Database, when an article is added?

<CMS_INPUT_DATE name="BEZEICHNER" useLanguages="YES" preset=“created“>
  <LANGINFOS>
    <LANGINFO lang="*" label="TEXT" description="TEXT"/>
    <LANGINFO lang="DE" label="TEXT" description="TEXT"  format="FORMAT"/>
    <LANGINFO lang="EN" label="TEXT" description="TEXT"  format="FORMAT"/>
  </LANGINFOS>
</CMS_INPUT_DATE>

             

System Date is saved into DB, thats great;

But when ever user edits the article date shoud be overwrite with the current system date, how to achieve this?

Regards,

Leela Prabhakar Desu

0 Kudos
1 Reply
feddersen
Community Manager

You can use preset="modified" which is the date of the last change.

0 Kudos