title: equivalent of mysql CURRENT_DATE() function in PHP
body: <p>Hi i'm inserting a date entry into a field that has a Type Timestamp and field default CURRENT_TIMESTAMP ...my insert value will look like this </p>
  
  <pre><code>'.($data[16] == '' ? CURRENT_DATE() : $data[16]).'
  </code></pre>
  
  <p>how would I format the CURRENT_DATE() to be 30-Nov-10 to match what $data[16] format would be if not present. Also should I change the Field Type to Date and not Timestamp?</p>