user: Question: What date was the game played in where Hegarty was the scorer?
Columns: ['Date', 'Opponent', 'Venue', 'Result', 'Scorers']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['18 September 1985', 'Bohemians', 'A', '5–2', 'Sturrock (3), Bannon (2)']
SQL:

assistant: SELECT "Date" FROM "Table" WHERE "Scorers" = 'Hegarty';