Chatam Sofer on Shulchan Arukh, Orach Chayim Siman 18
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
במג"א ס"ק א' למה מקרי. נ"ב בסמ"ע סי' ה' ס"ק ז' כתב דבלילה כעין יממא מקרי יום לענין משפט א"כ מכ"ש לענין ציצית דלא כתיב יום דק בראיה תליא מלתא דכתיב וראיתם אותו וקשה א"כ לא הוי מצות עשה שהזמן גרמא.