Loan Term variations including Interest Pauses
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
3bdeeb8201
commit
b729898147
@@ -48,4 +48,8 @@ export class Dates {
|
||||
return JSON.parse(localStorage.getItem('mifosXLanguage'));
|
||||
}
|
||||
|
||||
calculateDiff(date1: Date, date2: Date){
|
||||
return Math.floor((Date.UTC(date2.getFullYear(), date2.getMonth(), date2.getDate()) - Date.UTC(date1.getFullYear(), date1.getMonth(), date1.getDate()) ) /(1000 * 60 * 60 * 24));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user