Time change from Chicago to Los Angeles : Time Zone « Date Timezone « Oracle PL / SQL

Oracle PL / SQL
1. Aggregate Functions
2. Analytical Functions
3. Char Functions
4. Constraints
5. Cursor
6. Data Type
7. Date Timezone
8. Hierarchical Query
9. Index
10. Insert Delete Update
11. Numeric Math Functions
12. Object Oriented Database
13. PL SQL
14. Regular Expressions
15. Report Column Page
16. Result Set
17. Select Query
18. Sequence
19. SQLPlus
20. Store Procedure Function
21. Subquery
22. System Tables
23. Table
24. Table Joins
25. Trigger
26. User Previliege
27. View
28. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Oracle PL / SQL » Date Timezone » Time Zone 
Time change from Chicago to Los Angeles


SQL>
SQL> -- Time change from Chicago to Los Angeles.
SQL> SELECT TO_CHAR(NEW_TIME(TO_DATE('060297 01:00:00 AM', 'MMDDYY HH:MI:SS AM'), 'CDT','PDT'), 'DD-MON-YY HH:MI:SS AM') "Central to Pacific" from DUAL;

Central to Pacific
---------------------
01-JUN-97 11:00:00 PM

SQL>

           
       
Related examples in the same category
1. Select the current time zone
2. Timestamp with local time zone
3. Obtaining Time Zone Names
4. ALTER SESSION statement sets the local time zone to Pacific Standard Time (PST)
5. TIME_ZONE to EST and get CURRENT_TIMESTAMP, LOCALTIMESTAMP, SYSTIMESTAMP
w__w_w___.__j___a_v___a2__s_.co_m__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.