human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Round, Date, Opponent, Venue, Attendance
###Question: What day was the game held at Firhill against AYR United?
gpt
SELECT Date FROM table WHERE Venue = firhill AND Opponent = ayr united