I'm trying to write a code where an organization is organizing an virtual event with a raffle and is identifying a subset of the attendees that born in a certain month. Therefore, the event organizer needs to list only eligible members. The members’ information is given in a CSV file, and the record format in this data file is as follow:
firstName,lastName,YYYYMMDD
However, the year can either be in a Gregorian calendar, where the current year is 2022, or a Buddhist calendar, where the current year is 2565.