TO_DATE scalar function

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

Read syntax diagramSkip visual syntax diagramTO_DATE(string-expression ,format-string ,6,precision-constant )

The TO_DATE scalar function is identical to the TIMESTAMP_FORMAT scalar function. For more information, see TIMESTAMP_FORMAT.