[#BloombergLP-bdlt-DateUtil-earliestDayOfWeekInMonth]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DateUtil.adoc[DateUtil]::earliestDayOfWeekInMonth
:relfileprefix: ../../../
:mrdocs:

Return the earliest date in the specified `month` of the specified `year` that falls on the specified `dayOfWeek`&period; The behavior is undefined unless `1 &lt;&equals; year &lt;&equals; 9999` and `1 &lt;&equals; month &lt;&equals; 12`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;dateutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlt/Date.adoc[Date]
earliestDayOfWeekInMonth(
    int year,
    int month,
    xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[DayOfWeek::Enum] dayOfWeek);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
