|
hi ..........
I need helf from your's .
I want to add minutes in a specific system time.
My case is this that i m designing a attendance system and i want that if any employee reenter his id card(bar code card) with in 5 minutes of his Time IN than I will not accept his card for Time out.
Simply I need
If TimeOut > TimeIn+5 minutes then
......accept
else
.......reject
end if
<Added>
hi ..........
I need help from your's .
I want to add minutes in a specific system time.(in vb.net)
My case is this that i m designing a attendance system and i want that if any employee reenter his id card(bar code card) with in 5 minutes of his Time IN than I will not accept his card for Time out.
Simply I need
If TimeOut > TimeIn+5 minutes then
accept
else
reject
end if
|
|
|
To find current system time DateTime.Now
To add 5 min in system time DateTime.Now.AddMinutes(5)
|
|
|
|
|
|
|
|