zaky
Registered User.
- Local time
- Today, 14:32
- Joined
- Apr 7, 2003
- Messages
- 17
First of all I just want tell you this forum is like my home can't go to bed without checking what is going on every night.You guys are like family to me or big brother .......!
.
This is my problem I have Hotel db everything is good except when I want to calculate Totaldays =(Lastday- Firstday)
For ex: guest comes on JUl 1st and he/she leaves JUl 3
Totaldays=(Lastday- Firstday)= 2 days, that is fine but the problem is when the guest stays for only one day
For ex: If guest comes on JUl 1st and he/she leaves JUl 1st
Totaldays=(Lastday- Firstday)= 0 and the guest will not be charged. How can do this any suggestions.
thank you in advance guys.
I'm using 2002

This is my problem I have Hotel db everything is good except when I want to calculate Totaldays =(Lastday- Firstday)
For ex: guest comes on JUl 1st and he/she leaves JUl 3
Totaldays=(Lastday- Firstday)= 2 days, that is fine but the problem is when the guest stays for only one day
For ex: If guest comes on JUl 1st and he/she leaves JUl 1st
Totaldays=(Lastday- Firstday)= 0 and the guest will not be charged. How can do this any suggestions.
thank you in advance guys.
I'm using 2002