You are reporting the paste Calculate days difference between two dates in javascript.