/ Published in: SQL
A few examples of the CURRENT_TIMESTAMP function.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT CURRENT_TIMESTAMP, SYS_EXTRACT_UTC(CURRENT_TIMESTAMP) FROM dual; SELECT CURRENT_TIMESTAMP, CURRENT_TIMESTAMP - INTERVAL '4' HOUR FROM dual; SELECT CURRENT_TIMESTAMP FROM dual; SELECT CURRENT_TIMESTAMP(2) FROM dual;
URL: http://www.databasestar.com/oracle-current_timestamp/