Even though the Torah did not mention the matter of the giving of the Torah on Shavuot, because when the Torah was given – it was given forever and for all eternity; and it is not appropriate to establish a specific day for this as with all the festivals where only on that day was there a matter unique to it, such as the exodus from Egypt on Pesach and Sukkot, and the clouds of glory on Sukkot which were for a fixed time during their journeying in the desert. But the Torah is forever and for all eternity, and therefore the Torah suspended this holiday upon the offering of the shtei halechem which was only on this day. Nevertheless, in prayer we say "the time of the giving of our Torah," because on that day upon which Shavuot falls for us, namely the sixth of Sivan – the Torah was given to Israel. As it is taught in Shabbat (86b): Our Rabbis taught: On the sixth of the month the Torah was given to Israel. Rabbi Yose says: On the seventh of it. And the halacha is like the sages. And even though the Pesach when Israel went out from Egypt was on a Thursday, and the Torah was given on Shabbat, if so, according to our calculation that Iyar is always deficient and Nisan is full, and Rosh Chodesh Sivan was on Sunday, and if so the Torah was given on the seventh of Sivan; for it can be said that at the time when they established based on the sighting it could have been that Iyar was also full, and Rosh Chodesh Sivan was on Monday. (See Chok Yaakov what he wrote. And what the Magen Avraham questioned from that which we hold in Yoreh Deah siman 196 regarding one who discharges semen for six periods, and this is according to Rabbi Yose as is stated there in Shabbat – this is merely a stringency. And in truth, the Rambam in the fifth chapter of Hilkhot Avot HaTumot did not rule accordingly, as the Magen Avraham himself wrote. And the Magen Avraham brought from the Rema mi-Fano as an allusion to outside the Land – it is a fine and elegant allusion. And the Torah was given in the desert and not in the Land of Israel to teach that the Torah is not dependent on place, and the desert is outside the Land. Examine closely and you will find it simple.)
אף על פי שהתורה לא זכרה עניין מתן תורה בשבועות, לפי שהתורה כשניתנה – ניתנה לעד ולעולמי עולמים; ואין שייך לקבוע יום מיוחד בשביל זה כבכל המועדים שרק ביום זה היה עניין המיוחד לזה, כמו יציאת מצרים בפסח וסוכות, ענני כבוד בסוכות שהיתה לזמן קבוע בהליכתם במדבר. אבל התורה הוא לעד ולעולמי עולמים, ולכן תלתה התורה החג הזה בהקרבן של שתי הלחם שהיתה רק ביום זה. מכל מקום בתפילה אנו אומרים "זמן מתן תורתינו", מפני שבאותו היום שחל אצלנו שבועות, דהיינו ששה בסיון – ניתנה תורה לישראל. כדתניא בשבת (פו ב): תנו רבנן: בששה בחודש ניתנה תורה לישראל. רבי יוסי אומר: בשבעה בו. והלכה כחכמים. ואף על גב דפסח שיצאו ישראל ממצרים היה ביום חמישי, והתורה ניתנה בשבת, אם כן לפי חשבון שלנו דאייר לעולם חסר וניסן מלא, והיה ראש חודש סיון ביום ראשון, ואם כן ניתנה התורה בשבעה בסיון; דיש לומר דבעת שקבעו על פי הראייה היה יכול להיות גם אייר מלא, והיה ראש חודש סיון ביום שני. (עיין ח"י מה שכתב. ומה שהקשה המגן אברהם מהא דקיימא לן ביורה דעה סימן קצו בפולטת שכבת זרע שש עונות, וזהו אליבא דרבי יוסי כדאיתא שם בשבת – זהו חומרא בעלמא. ובאמת הרמב"ם בפרק חמישי מהלכות אבות הטומאה לא פסק כן, כמו שכתב המגן אברהם בעצמו. והמגן אברהם הביא מהרמ"ע לרמז על חוץ לארץ – הוא רמז נאה ומהודר. והתורה ניתנה במדבר ולא בארץ ישראל להורות שאין התורה תלוי במקום, ומדבר הוא חוץ לארץ. ודייק ותמצא קל.)