SYS_EXTRACT_UTC(x): convert the TIMESTAMP WITH TIMEZONE x to a TIMESTAMP containing the date and time in UTC : SYS_EXTRACT_UTC « System Tables Views « Oracle PL / SQL






SYS_EXTRACT_UTC(x): convert the TIMESTAMP WITH TIMEZONE x to a TIMESTAMP containing the date and time in UTC


SQL>
SQL> --SYS_EXTRACT_UTC(x): convert the TIMESTAMP WITH TIMEZONE x to a TIMESTAMP containing the date and time in UTC
SQL>
SQL> SELECT SYS_EXTRACT_UTC(TIMESTAMP '2005-05-13 19:15:26 PST') FROM dual;

SYS_EXTRACT_UTC(TIMESTAMP'2005-05-1319:15:26PST')
---------------------------------------------------------------------------
14-MAY-05 02.15.26.000000000 AM

SQL>
           
       








Related examples in the same category