Question: when was the song it had to be you written
Answer: It was first published in 1924 .