Returns the day of the week corresponding to a date, with custom weekend parameters
=WEEKDAY.INTL(serial_number, [return_type], [weekend])
=WEEKDAY.INTL("1/1/2023", 1, 1)