모두 저는 시작 및 끝 필드의 날짜를 기준으로 필드에 정수를 설정하는 데 javascript를 사용하려고합니다. 나는 CRM 자바 스크립트로 요일을 찾는 올바른 구문이 무엇인지 잘 모릅니다. 지금까지 제 코드가 있습니다.Microsoft Dynamics CRM 2011에서 두 날짜 사이의 영업일 수 찾기
function netbdays_change() {
var startday = Xrm.Page.getAttribute("new_quotestart").getValue();
var endday = Xrm.Page.getAttribute("new_quoteend").getValue();
cycletime = endday - startday;
Xrm.Page.getAttribute("new_setcycletime").setValue(cycletime);
}
가능한 중복 : http://stackoverflow.com/a/543152/684271 나에게 요일을 말하는 잘 작동 –