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

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -