Weeks counting

Hi,

if i have only two date - StartDate and EndDate.

I want to count, how much weeks between these dates.

Hi

Use the virtual table Date (2000000007) with period type “Week”

Or:

NoOfWeeks := (enddate - startdate) DIV 7;

Thanks!

It works!

[Y]

Please make the reply that was the one that worked and set the thread as answered.