SELECT
CAST('04.12.2014' AS DATE) AS d1,
CAST('12-04-2014' AS DATE) AS d2,
CAST('12/04/2014' AS DATE) AS d3,
CAST('04.12.14' AS DATE) AS d4,
CAST('04.12' AS DATE) AS d5,
CAST('12/4' AS DATE) AS d6,
CAST('2014/12/04' AS DATE) AS d7,
CAST('2014.12.04' AS DATE) AS d8,
CAST('2014-12-04' AS DATE) AS d9,
CAST('11:37' AS TIME) AS t1,
CAST('11:37:12' AS TIME) AS t2,
CAST('11:31:12.1234' AS TIME) AS t3,
CAST('11:31:12.1234 +03' AS TIME WITH TIME ZONE) AS t4,
CAST('11:31:12.1234 +03:30' AS TIME WITH TIME ZONE) AS t5,
CAST('11:31:12.1234 Europe/Moscow' AS TIME WITH TIME ZONE) AS t5,
CAST('11:31 Europe/Moscow' AS TIME WITH TIME ZONE) AS t6,
CAST('04.12.2014 11:37' AS TIMESTAMP) AS dt1,
CAST('12/04/2014 11:37:12' AS TIMESTAMP) AS dt2,
CAST('04.12.2014 11:31:12.1234' AS TIMESTAMP) AS dt3,
CAST('2014-12-04 11:31:12.1234 +03:00' AS TIMESTAMP WITH TIME ZONE) AS dt4,
CAST('04.12.2014 11:31:12.1234 Europe/Moscow' AS TIMESTAMP WITH TIME ZONE) AS dt5,
CAST('now' AS DATE) AS d_now,
CAST('now' AS TIMESTAMP) AS ts_now,
CAST('now' AS TIMESTAMP WITH TIME ZONE) AS ts_now_tz,
CAST('today' AS DATE) AS d_today,
CAST('today' AS TIMESTAMP) AS ts_today,
CAST('today' AS TIMESTAMP WITH TIME ZONE) AS ts_today_tz,
CAST('tomorrow' AS DATE) AS d_tomorrow,
CAST('tomorrow' AS TIMESTAMP) AS ts_tomorrow,
CAST('tomorrow' AS TIMESTAMP WITH TIME ZONE) AS ts_tomorrow_tz,
CAST('yesterday' AS DATE) AS d_yesterday,
CAST('yesterday' AS TIMESTAMP) AS ts_yesterday,
CAST('yesterday' AS TIMESTAMP WITH TIME ZONE) AS ts_yesterday_tz
FROM rdb$database