title: How to get the current date time in plsql?
body: <p>My Code:</p>
  
  <pre><code>DECLARE
  
  BEGIN 
  
      -- outputs 06-DEC-18
      dbms_output.put_line(sysdate);  
  
      -- also outputs 18-DEC-06
      dbms_output.put_line(to_date(sysdate,'yyyy-mm-dd hh24:mi:ss')); 
  END;
  /
  </code></pre>
  
  <p>The output only shows the date. I want to get also the time.</p>