['Determine the start and the end time.', 'Convert the time to military time (24 hours)', 'Transform the minutes in decimals.', 'Subtract the start time from the end time.', 'Subtract the unpaid time taken for lunch or breaks.']