즐겨찾기Nishanth Mandala (LastPass) 님이 #Apex에 질문했습니다2016년 3월 29일 오후 12:42Calculate number of days between two datetime values in apexCould someone help me out with this? integer dt1 = day( datevalue(cc1.ClosedDate) ) - today();답변 3개정렬날짜별 정렬가장 유용한 항목별 정렬날짜별 정렬댓글 더 보기...John Pipkin (OpFocus, Inc)2016년 3월 29일 오후 12:54Ramshah, Use the daysBetween method in the date class:Integer dt1 = (system.today()).daysBetween(Date.valueOf(cc1.ClosedDate)); 댓글 추가답변을 작성하세요...굵은 글꼴기울인 글꼴밑줄취소선불릿 기호 목록번호가 지정된 목록링크 추가코드 블록이미지 삽입파일 첨부링크 URL취소저장0/9000답글 쓰기
John Pipkin (OpFocus, Inc)2016년 3월 29일 오후 12:54Ramshah, Use the daysBetween method in the date class:Integer dt1 = (system.today()).daysBetween(Date.valueOf(cc1.ClosedDate));