title: Convert a date in french format in a mysql datetime format
body: <p>I'd like to convert a date in french format (08 novembre 2011 à 06h00) in a datetime format (2011-11-08 06:00).</p>
  
  <p>I'm able to convert a datetime in french format date with a little function:</p>
  
  <pre><code>function dateFR($datetime) {
      setlocale(LC_ALL, 'fr_FR');
      return strftime('%d %B %Y &amp;agrave; %Hh%M', strtotime($datetime));
  }
  </code></pre>
  
  <p>But I don't know how to do the opposite.</p>
  
  <p>Thank you for your help.</p>