Added functionality from @unaveed

Now able to calculate what time the user should clock out.