CREATE OR REPLACE FUNCTION current_datetime()
  RETURNS TIMESTAMP WITH TIME ZONE
AS '
BEGIN

--RETURN to_timestamp(''2014-01-01'', ''YYYY-MM-DD'');
  RETURN now();

END;
' LANGUAGE plpgsql;
