0

How would you determine the number of weeks between a date and today?

Let us assume you have a form something like the following.. 

theForm

You could do a formula like

theFormula

 

Or like 

theCode

 

Or.. let  us assume you want to do this calculation many times using various parameters.. You can code a "global script" called

weeks(startDate, endDate) 

like so.. 

function

1 reply

null
    • Choices_Software_Dean
    • 5 yrs ago
    • Reported - view

    Thank you for sharing.