Time in =8 Am
Time out= 6PM
Break Time= (in hour)?
Total Time=(in hour)?
Here is multiple time in and time out but the starting time in is 8 am.and ending time is 6PM. if any employee come after 8am its time count in break time.eg: time in at 10am so 8-10=2. so the 2 hour count in break time
Also if employee come at 8am and time out at 11 am and again come at 2 pm (11-2=3) so these 3 hour count in break time.
Anybody help me?i am using c# asp.net
Loading

VulpesPosted Aug 11, 2014, 7:49 PM
Although it's ASP.NET, I've presented it as a console app since it's easier to see that it's working properly:
The output is: