Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_40 (date VARCHAR, record VARCHAR)
### Question:
What was the date of the game when the Canadiens had a record of 31–19–9?
### Answer:
SELECT date FROM table_name_40 WHERE record = "31–19–9"