Let's back up a bit
I am confused what you are actually trying to accomplish....
Are you trying to calculate the number of days from Today / Now with respect to a date field in the document?
I am not sure where that understanding comes from...
Perhaps you are looking to do something like this