An employee gives two weeks notice to resign from his job. For example, on Monday, September 7th, the employee gives notice that he or she wishes to resign with the last day of work on Friday, September 18th.
Question: On which day does the employee legally resign? On September 7th (the notice handed to his employer), on September 18th (last day of work) or September 19th (not working for the company anymore), and on which day is he resigned? For example if a bonus is to be paid on September 14th but not to employees who have resigned?