Q : select to_char(sysdate, 'YYYY-MM-DD HH24:MI:SS') from dual;
Output : 2003-02-03 09:25:45

Command: !date
Output : Wed Feb 5 16:40:22 CST 2003