The Shulchan Aruch · Orach Chayim
אורח חיים תכ״זOrach Chayim 427
Siman 427 of 697 in Orach Chayim — 1 se'if
הלכות ראש חודשLaws of Rosh Chodesh· siman 427
Se’if 1א׳
כְּשֶׁרֹאשׁ חֹדֶשׁ שְׁנֵי יָמִים, כּוֹתְבִין בַּשְּׁטָרוֹת בַּיּוֹם הָרִאשׁוֹן: בְּיוֹם רֹאשׁ חֹדֶשׁ שֶׁהוּא יוֹם שְׁלֹשִׁים לַחֹדֶשׁ שֶׁעָבַר. וּמוֹנִין לַחֹדֶשׁ מִיּוֹם הַשֵּׁנִי וְכוֹתְבִין בּוֹ בְּא' לַחֹדֶשׁ (טוּר). הַגָּה: כְּשֶׁמְעַבְּרִין הַשָּׁנָה כּוֹתְבִין בַּאֲדָר רִאשׁוֹן: אֲדָר, סְתָם, וּבַשֵּׁנִי: אֲדָר הַשֵּׁנִי (טוּר).
How documents are dated when Rosh Chodesh falls on two days. Contains one section When Rosh Chodesh falls on two days, documents written on the first day are dated "on Rosh Chodesh" which is the thirtieth day of the previous month. Rema: The month is counted from the second day and documents written on it are dated the first of the month. When the year is intercalated, the first Adar is written simply as "Adar" and the second is written as "Adar the Second."
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0