Hussain Ahmed

Hussain Ahmed

  • 984
  • 1.2k
  • 1.2m

Calculate total time,Break time.

Aug 11 2014 5:36 AM

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 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#

Brought to you by:

Answers (1)