Table: blue_jays_1987_games_2
Columns: date
opponent
score
loss
attendance
record

Question: What was the date of the game with the Kansas City Royals when the Blue Jays record was 18-12?
SQL: SELECT "date" FROM blue_jays_1987_games_2 WHERE "opponent" = 'royals' AND "record" = '18-12'