TO_TIMESTAMP

Purpose

This function converts the string into a timestamp.

Syntax

to_timestamp::=

Usage Notes

Example

SELECT TO_TIMESTAMP('1999-12-31 23:59:00') TO_TIMESTAMP;

SELECT TO_TIMESTAMP('23:59:00 31-12-1999',
                    'HH24:MI:SS DD-MM-YYYY') TO_TIMESTAMP;