var dependedVal="2005-3-4"; //根据日期字符串转换成日期 var regEx = new RegExp("\\-","gi"); dependedVal=dependedVal.replace(regEx,"/"); //dependedVal=dependedVal.replace("\\-","/");//这样不行 alert(dependedVal) /
PROCEDURE MAIN(ERRBUF OUT VARCHAR2, RETCODE OUT VARCHAR2, P_CUSTOMER_ID IN VARCHAR2, P_PERSON_ID IN VARCHAR2, P_MAKER_ID IN VARCHAR2, P_START_DATE IN VARCHAR2, --这里为字符格式 P_END_DATE IN VARCHAR2 --这里为字符格式 ) IS l_contract_date_from DATE; -- 合同日期至 l_cont