checking to see if the transaction is the first one of the day