I need a script to calculate the attendance for each employee based on his shift time. It must deduct the total delay or any break in the middle of the shift. For example, A shift time is between 8am and 4pm, but the employee reached work at 8:15am and left at 3:30pm so the script must calculate the delay in the beginning and in the end of the shift. Also, it must calculate the break in middle if there is any because no always we have a break. I have to use google spreadsheet for the attendance. Any help?
↧