to_char

Returns the string representation of "expression" with the format of "string_expression". "Expression" can be either a date value or a numeric value.

Syntax

to_char ( expression [ , string_expression ] )