human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Week, Date, Opponent, Score, Result, Attendance, Record
###Question: What was the date of the game with an attendance of 20,874 fans?
gpt
SELECT Date FROM table WHERE Attendance = 20,874