SELECT * FROM CDB_DateToNumber('1999-01-08 00:00:00'::timestamp); SELECT * FROM CDB_DateToNumber('1999-01-08 00:00:00+05'::timestamp with time zone);