I want to know the number of nights people are staying between two dates. (in this example, it's between the 1st and the 31st of March.
If someone arrives the 28 of February and is leaving the 3rd of March, then the result should be 2, that is the night of the first and the second of March.
If someone is arriving the 30st of March and leaving the 1st of April, they stay the 30st and the 31st, thus 2.
If they leave the 31st of March, they stay one day, thus 1.
...
Is there anyone who can help me? I'm struggling with loads of what if's and I'm not getting the result I need.
Something more easier ?
Tx
Bob
If someone arrives the 28 of February and is leaving the 3rd of March, then the result should be 2, that is the night of the first and the second of March.
If someone is arriving the 30st of March and leaving the 1st of April, they stay the 30st and the 31st, thus 2.
If they leave the 31st of March, they stay one day, thus 1.
...
Is there anyone who can help me? I'm struggling with loads of what if's and I'm not getting the result I need.
Something more easier ?
Tx
Bob