human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Visitor, Score, Home, Decision, Attendance, Record
###Question: What was the date of the game when the Canadiens had a record of 31–19–9?
gpt
SELECT Date FROM table WHERE Record = 31–19–9