title: Hidden text field time running
body: <p>i m referring to this <a href="https://stackoverflow.com/questions/7577944/put-current-time-date-in-hidden-field">question</a></p>
  
  <p>what if hidden field is used as to store time in db while inserting record &amp; the time visitors opens page is : 3:00pm but he inserts records on same page without refreshing &amp; inserts at 3:10pm then results seems to be 3:00pm cause what time was earlier when page was loaded that time appears to be save. So how we keep running time in hidden field!</p>
  
  <p>More information on table structure, &amp; php statements:</p>
  
  <p>Table Name: "Areas"
  Columns: ID, Name, AreaName, Position, TimeAdded, TimeUpdated, Deleted</p>
  
  <p>Using php mysql.
  Hidden text field contains:</p>
  
  <p><code>&lt;input name="TIME" id="TIME" type="hidden" value="&lt;?php date_default_timezone_set("".$row_CompanyDetails['TimeZone']."");echo "".date("Y-m-d G:i:s");?&gt;"&gt;</code></p>
  
  <p>Now lets say User open page at 2016-02-14 03:34:59
  So at hidden field value is : 2016-02-14 03:34:59</p>
  
  <p>So lets say user adds record After few seconds the record shows : 2016-02-14 03:34:59, where as it must show 2016-02-14 03:35:10 or 11 or 12+ ....</p>
  
  <p>So i need the exact value. This is critical for me.</p>