Hai Guys,

Iam working on a vb application to track attendence, overtime of employees.
We have implemented the system but has some issues which has to be solved.

we are capturing in and out time of employees using barcode.
when we scan the card for the first time in a day it will store the current time as signin time and next time it will be considered as signout and the time is captured.
Now when an employee is doing overtime say from 10 PM to 2 AM,
and he tries to signout at 2 AM the sytem will consider as signin since the date is changed.
In short the system is designed in such a way that every new entry in a day will be considered as signin.
How do i tackle this issue .

Thanks