0

How to convert a string in this specific format: 'Aug 6, 2018 3:17:11 PM' to the DATE data type using the function TO_DATE()?

mustaccio
28.7k24 gold badges60 silver badges77 bronze badges
asked Aug 10, 2018 at 13:27

1 Answer 1

1
select to_date('Aug 6, 2018 3:17:11 PM', 'MON DD, YYYY HH:MI:SS PM') from dual;
TO_DATE('AUG6,20183
-------------------
2018年08月06日 15:17:11

Datetime Format Models

answered Aug 10, 2018 at 13:36
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.