During Shavu'ot, during Shmoneh Esreh and bentching we refer to the holiday as Z'man Matan Torateinu - "The time of the giving of our Torah"
Discounting the discussions of the exact calendar date of Shavu'ot, itself, we are close enough to coordinating the date of Shavu'ot with the date of the gathering at Mt. Sinai to hear the Ten Commandments. The 10 Commandments is not the entire Torah as we have it (I.e. - all 5 Books). 40 days later, Moses was given just the 2 tablets - also, not the entire Torah.
It seems that the entire Torah in the form that we have it must have occurred close the day of Moses's death, as the last story mentions his death. I am aware of various opinions that discuss who wrote it - whether it was Moses himself or Joshua. But, as I understand it, it was written close to Moses death, either way. It doesn't seem sensible that Moses would have written about his death 40 years in advance while still at Mt. Sinai.
So, does the phrase "receiving the Torah" when referring to Shavuot refer to some other definition of "Torah"? What do we mean? What was actually "given"?