http://blog.clausehound.com/blog-bite-how-is-the-termination-date-of-an-employee-determined/