Skip to content

Commit 8813b0d

Browse files
Merge pull request #1 from NavyasreeBolleboyana/NavyasreeBolleboyana-patch-1
Create DateDifference.js
2 parents be1fd1a + 65cbe37 commit 8813b0d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
(function executeRule(current, previous /*null when async*/) {
2+
3+
// Add your code here
4+
if(current.u_termination_date.changes()){
5+
var date1=current.u_current_date;
6+
var date2=current.u_termination_date;
7+
8+
var res=onDemand1(date1,date2);
9+
gs.addInfoMessage("Date Difference is :"+res);
10+
11+
}
12+
})(current, previous);

0 commit comments

Comments
 (0)