TO_DATE

The TO_DATE function returns a timestamp value that is based on the interpretation of the input string using the specified format.

Read syntax diagram
                                                    .-,--6------------------.      
>>-TO_DATE--(--string-expression--,--format-string--+-----------------------+--)-><
                                                    '-,--precision-constant-'      

The schema is SYSIBM.

The TO_DATE scalar function is a synonym for the TIMESTAMP_FORMAT scalar function. Refer to the description of the TIMESTAMP_FORMAT function for information about how to use the TO_DATE function.