Skip to main content
The following table describes the functions that convert strings to specific data types and vice versa. Those functions are used when the required input/output format of a specific DATE/TIMESTAMP is different from the default DATE/TIMESTAMP formats. The default DATE format is: YYYY-MM-DD The default TIMESTAMP format is: YYYY-MM-DD HH24:MI:SS.MS In all the functions below, the first argument is the value to be converted and the second argument is a template that defines the output or input format. The input string is of one of the Character types. Template Patterns for Date/Time Formatting:

Examples

Convert the input format to a DATE/TIMESTAMP that can identified as such:
Convert the DATE/TIMESTAMP to the desired output format: