Are you just trying to get how many possible weeks and days total between two dates? If so, here is a simple function which will do just that. If not, can you explain yourself more clearly, please?
...