title: to_char equivalent that should work in both oracle and mysql
body: <pre><code>select to_char(systimestamp-1/24,'dd-mm-yy hh24:mi:ss') from dual;
  </code></pre>
  
  <p>Above query works in oracle. But I also need to work it in mysql as my application should work in both databases with out changing query everytime. So is there any equivalent query for the above that would give same result and should work in both databases.</p>