You are viewing a single comment's thread. Return to all comments →
My simple Javascript solution
function libraryFine(d1, m1, y1, d2, m2, y2) {
return (y1 > y2) ? 10000: (y1 === y2 && m1 > m2)? (m1 - m2) * 500: (y1 === y2 && m1 === m2 && d1 > d2)?(d1 - d2) *15: 0
}
Seems like cookies are disabled on this browser, please enable them to open this website
Library Fine
You are viewing a single comment's thread. Return to all comments →
My simple Javascript solution
function libraryFine(d1, m1, y1, d2, m2, y2) {
}