title: Drupal7 format_date
body: <p>Somebody could help me to how to change string date with format_date function.
  Here is my code<code>$datesql = format_date("2014-04-02 11:11:31", 'custom', 'Y-m-d');
      drupal_set_message(t('date '.$datesql));
  </code>
  I suppose drupal to show this message "date 2014-04-02", but drupal just show the message "date", not $datesql. What is wrong in my code.
  Thanks </p>