Oracle Date formatting "2009-02-13T11:46:40+00:00" -
I have received some great help before and I hope you can get me out of a hole again.
I have the date coming from a web service in this format: 2009-02-13T11: 46: 40 + 00: 00
I look like a standard UTC format.
I need to put it in the Oracle database, so I'm using to_date () when inserting. The problem is, I can not get a matching formatting string for it and getting the "ORA-01861: Verbatim Format String does not match" error.
I know its fairly trivial problem, but for some reason I can not find it to accept the correct format string
Gareth
select cast (TO_TIMESTAMP_TZ (REPLACE ('2009-02-13T11: 46: 40 + 00: 00', 'T', ' '),' YYYY-MM-DD HH: MI: SS TZH: TZM '), from double to
Comments
Post a Comment