title: Convert Javascript time to MySQL format using PHP
body: <p>How can I convert a js Date (like this <code>Sun Jul 13 2014 07:00:00 GMT+0200 (EET)</code>) to MySQL format (like this <code>2014-07-13 07:00:00</code>) using php ? </p>