hi, I am actually doing a library system for my project. I have to compare the system date with the due date to check whether the book is overdue or not. I tried to use something like:
If Date - Adodc1.Recordset("due_date"
> 0 Then
'and the actions that follow if the condition is true
This code works fine when both dates are of the same month only.
Is there a specific built-in function that can help to solve my problem or is there any way to solve it? Any help would be appreciated!
If Date - Adodc1.Recordset("due_date"
'and the actions that follow if the condition is true
This code works fine when both dates are of the same month only.
Is there a specific built-in function that can help to solve my problem or is there any way to solve it? Any help would be appreciated!