Button is given, I need to rely on what time the document is being created and the time that the last click in the button. The documents being counted at first time will not be count again. for example i click the button once it shows 5 for example( the number of documents found ), then when i click it without adding new documents it will show 5 again, but when i add 2 new documents before clicking the button, I will come up with 2( the number new documents) then loop.
thanks, Please help me.