お気に入り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));