--
-- rdbms_date/1
--
create or replace function rdbms_date(
  p_raw_date character varying
) returns timestamptz as $$

DECLARE
BEGIN
  return "timestamptz" (p_raw_date || '+00');
END;
$$ language plpgsql;