Alliance seniority counts the number of days based on daily resets, whereas nation age is counted by turns. If a new nation joins an alliance the turn before the default day change then they will have 1 day seniority after DC but their nation age will not increase until the turn they joined the game has passed again.