SQL> SQL> CREATE OR REPLACE FUNCTION myTimeFunction RETURN DATE 2 IS 3 BEGIN 4 RETURN NEW_TIME (SYSDATE, 'GMT', 'CST'); 5 END; 6 / Function created. SQL> SQL> SQL> select myTimeFunction from dual; MYTIMEFUN --------- 24-JUL-08 SQL> SQL>