![]() |
|||
|
![]() |
![]() |
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
![]() Term: NEW_TIME
Definition: NEW_TIME(date, timezone 1, timezone 2) Timezone 2 is the current timezone of input Date. The function returns its equivalent in timezone 1. Note that NLS_DATE_FORMAT parameter must be set in the 24 hour time format before using the NEW_TIME function. Example Usage: The SQL example below returns the PST timezone equivalent of date in the EST timezone. SELECT NEW_TIME(TO_DATE('12-14-10 12:26:34', 'MM-DD-YY HH24:MI:SS'),'PST', 'EST') "Time in PST" Related Links: Related Code Snippets:
|
![]() |
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2025 psoug.org |