1 Reply Latest reply on Jan 23, 2009 7:02 AM by Günter Schenk

    Date format on form submit

    megs1328
      After setting up the date formats with the developer toolbox, the help instructs you to insert KT_formatDate($row_rsRecordset['name_emp']) into your pages. This works great for displaying data, however I can't find what to do to fix the date format upon submitting a form. I am using the Insert Record server behavior and assume the KT_formatDate needs to be added there, but no matter where I put it it doesn't seem to work. Any ideas?
        • 1. Re: Date format on form submit
          Günter Schenk Level 4
          Hi Megan,

          ADDT provides a variety of so-called "dynamic data" placeholders which can be used when inserting/updating records. In your case the placeholders in question are...

          {NOW} for MySQL date columns
          {NOW_DT} for MysQL datetime columns

          Cheers,
          Günter Schenk
          Adobe Community Expert, Dreamweaver