![]() |
|||
|
|
|||
|
||||||||||||||||||||||||||||||
|
|
|
Looking for the original pages? (formerly called "Morgan's Library") You can find them here.
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 : Code Library : Sponsors : Privacy : Terms of Use : Contact Us | 43 users online © 2009 psoug.org |