I need to convert a string to Date in oracle.
The format of the string is as follows:
'08/11/1999 05:45:00 pm'
But the last position may change for m. I tried to do something like:
to_date('08/11/1999 05:45:00 pm', 'dd/mm/yyyy hh:mi:ss am/pm') to_date('08/11/1999 05:45:00 pm', 'dd/mm/yyyy hh:mi:ss am/pm')
But give me error ORA-01855: AM / AM or PM / PM is required ... any idea?
Abel juan rodrΓguez
source share