0

HI

I want to calculate the amount of days left between now and let's say 5 days from now using daysbetween. everytime i try to run my app, it says that daysbetween is a an undeclared identifier. i want to use this function to limit the length of time a client can use my application. basically a trial version the can try out for a couple of days before it locks up and require serial key to reactivate. usually made a monthly trial but want to go to weekly one. can anybody give me some tips on this.
Thanx again you guys are real life savers.

Regards
Vdub.za

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by BitFarmer
0

hi
nevermind hopefully figured it out on my own without using daysbetween.

thanx

0

Just doing a "round(YourDate-now);" (both TDateTime or TDate) would do the work, but, you are supposing the user won't play with the system clock to fool your system!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.