incorporated date capturing in order to calculate paycheck