![]() |
|||
|
|
|||
|
||||||||||||||||||||||||||||||
|
|
|
Looking for the original pages? (formerly called "Morgan's Library") You can find them here.
Term: CURRENT_DATE
Definition: CURRENT_DATE SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI:SS') FROM dual; To see the current system date and time with the time zone, use just the CURRENT_DATE function. To see the current system date and time with fractional seconds and the time zone, use the following statement: SELECT SYSTIMESTAMP FROM dual; For example to see the current date in the format "Monday, 3rd May, 2010", use the following syntax: SELECT TO_CHAR(sysdate,'Day, ddth Month, yyyy')"Today" FROM dual; This will return the following (assuming today is 5/3/2010): TODAY Related Links: Related Code Snippets:
|
| Home : Code Library : Sponsors : Privacy : Terms of Use : Contact Us | 83 users online © 2009 psoug.org |