You are viewing a single comment's thread. Return to all comments →
One JS Solution:
function libraryFine(d1, m1, y1, d2, m2, y2) { if(y1 < y2 || ((y1 == y2) && (m1 < m2) || ((m1 == m2) && (d1 < d2)))) return 0 if(y1 > y2) return 10000; if(m1 > m2) return (m1 - m2)*500; return (d1 - d2)*15; }
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 →
One JS Solution: