CREATE TABLE table_name_40 (date VARCHAR, record VARCHAR)

What was the date of the game when the Canadiens had a record of 31 19 9?
SELECT date FROM table_name_40 WHERE record = "31–19–9"
SELECT "date" FROM "table_name_40" WHERE "31–19–9" = "record"