Instruct: What was the date of the game with the Kansas City Royals when the Blue Jays record was 18-12?
Output: SELECT Date FROM table WHERE Opponent = royals AND Record = 18-12