Back to All

Calculating working weeks between two dates


I have a start date and end date on my form. How can I calculate the number of weeks between two dates - but it must only be based on a 5 day week. So 11th April to 28th April should equal a value of 2.8 (weeks). I have zero knowledge of Java so I’m hoping I can copy and paste a solution? Thanks in advance !