Function on pay periods instead of months.