"So the Ministry called upon Morfin. They did not need to question him, to use Veritaserum or Legilimency. He admitted to the murder on the spot, giving details only the murderer could know. He was proud, he said, to have killed the Muggles, had been awaiting his chance all these years. He handed over his wand, which was proved at once to have been used to kill the Riddles. And he permitted himself to be led off to Azkaban without a fight."
-- Dumbledore (HBP17)
Tom Riddle Jr. came looking for his maternal family in Little Hangleton and discovered a disheveled Morfin in the filthy Gaunt hovel. He learned of the history of his mother and father, then Stupefied Morfin. He went across to the Riddle house, murdered his father and grandparents with Morfin’s wand, then returned to the Gaunt house. There he placed a Memory Modification charm on Morfin so that when Ministry officials arrived, Morfin proudly boasted of killing the Muggles. Morfin’s wand proved to be the murder weapon and he was carted off to Azkaban.
The murders are said to have happened in Tom Riddle's sixteenth year.
"All he had to go upon was the single name 'Marvolo,' which he knew from those who ran the orphanage had been his mother's father's name. Finally, after painstaking research, through old books of Wizarding families, he discovered the existence of Slytherin's surviving line. In the summer of his sixteenth year, he left the orphanage to which he returned annually and set off to find his Gaunt relatives." (HBP17)
It is unclear if that means the year he turned sixteen, which would place the murders in 1941, or if he was sixteen when he committed the murders, which would make it 1942.