to_char

Returns the character string "date_expression" with the specified "string_expression" formatting. You can use this function only with built-in data types.

Syntax

to_char ( date_expression [ , string_expression ] )