The CONVERT function is the function form of the CONVERT statement. It performs exactly the same function but may also operate on an expression rather than being restricted to variables.
CONVERT(expression1, expression2, expression3)
expression1 is the string to which the conversion will apply.
For Prime, Universe and Unidata emulations:
See also the CONVERT statement.