Quick Search:
CODE
Oracle PL/SQL Code Library
JOBS
Find Or Post Oracle Jobs
FORUM
Oracle Discussion & Chat
 The Oracle PL/SQL SYS_EXTRACT_UTC Function      [Return To Index] Jump to:  
  Looking for the original pages? (formerly called "Morgan's Library") You can find them here.

Term: SYS_EXTRACT_UTC

Definition:
In Oracle PL/SQL, SYS_EXTRACT_UTC is a built in function which returns the Greenwich Mean Time or Coordinated Universal Time for input datetime value with time zone offset.

Example Syntax:

SYS_EXTRACT_UTC ( datetime_with_timezone )


Example Usage:

The SQL example below extracts GMT based on time zone region name IST:

SQL> SELECT SYS_EXTRACT_UTC(TIMESTAMP '2010-01-27 09:49:00.00 -05:30')
FROM DUAL;

SYS_EXTRACT_UTC(TIMESTAMP '2010-01-2709:49:00.00-05:30')
---------------------------------------------------------
27-JAN-10 03.19.00.000000000 PM



Related Links:

Related Code Snippets:
 
Home      :      Code Library      :      Sponsors      :      Privacy      :      Terms of Use      :      Contact Us 106 users online    © 2009 psoug.org
PSOUG LOGIN
Username: 
Password: 
Forgot your password?