sql - Convert date format in Oracle -


I have a date format 2011-01-06T06: 30: 10Z in Excel. Table. How do I get a share of the date from it? I.e. 2011-01-06

thanks

try this: Select to cast (TO_TIMESTAMP_TZ (REPLACE ('2011-01-06T06: 30: 10Z', 'T', ''), 'YYYY-MM-DD HH: MI: SS TZH: TZM') Date in duplicate) from double )

Comments

Popular posts from this blog

Out of index C/C++ -

regex - PatternSyntaxException: while using String.ReplaceAll function in java? -

java - Projects which are accessed via multiple (different) IDEs: Ant or Maven? -