Any Mass that starts after 4:00pm on the day before a Sunday or Holiday of Obligation fulfils the precept. However, you can’t do a buy one get one free. If there are two consecutive days that require you to attend Mass, an evening Mass on the first day can count for either but not both. I had to research this in some detail in 2017 because the Catholic Herald and our senior curate got it wrong. In 2017, Christmas Day was on a Monday. My church celebrated two Vigil Masses on the Sunday evening. These could count for Sunday or Christmas Day or you could attend them both and count one for each. It is a fallacy that the Mass must include the prayers and readings for the following day. Any valid Latin Rite Catholic Mass fulfils the obligation.