human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Course, Distance, Type, Winner
###Question: What was the date with a winner of km (mi)?
gpt
SELECT Date FROM table WHERE Winner = km (mi)