I have a database that is part of the library information system. It keeps track of books borrowed by customers, complies with deadlines and automates notification of customer accountability if the customer returns the book beyond a specified date.
Now I use MySQL for the DBMS. I know that MySQL time depends on system time. When verifying that the borrowed book has already passed, I would compare the current system time with the date value associated with the borrowed book. Yes, the database server will run on a PC with winXP.
My problem is that when the system time changes, data integrity and liability verification become compromised. Is there any way around this? Is there some kind of "independent time" that I could use? Many thanks!
NOTE. I am afraid that the application does not have an internet connection.
source share