Format Timestamp with time zone ('YYYY-MM-DDTHH:MI:SS.FF+TZ') if stored into VARCHAR2 column and needs to convert into 'YYYY-MM-DD HH:MI:SS' then use the Below select statement for conversion.
SELECT CAST (
TO_TIMESTAMP_TZ ('2014-02-12T23:02:14.000+0000',
'YYYY-MM-DD"T"HH24:MI:SS.FF TZH:TZM')
AT TIME ZONE DBTIMEZONE AS DATE)
FROM DUAL
SELECT CAST (
TO_TIMESTAMP_TZ ('2014-02-12T23:02:14.000+0000',
'YYYY-MM-DD"T"HH24:MI:SS.FF TZH:TZM')
AT TIME ZONE DBTIMEZONE AS DATE)
FROM DUAL
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.