|
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
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 | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2025 psoug.org |