title: Create a function to return current date and time in oracle
body: <p>I am new to oracle, I have to create a function that returns current date and time.</p>
  
  <p>I am using this to return date;</p>
  
  <pre><code>SELECT CURRENT_DATE FROM dual;
  </code></pre>
  
  <p>Thanx</p>