[This is preliminary documentation and is subject to change.]

Gets the first/second/third/forth/last Monday/Tuesday... of a month from the first day of the month for the date specified.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static DateTime GetDayOfMonth(
	int week,
	int weekDay,
	int month,
	int year,
	int hour,
	int min
)
Visual Basic (Declaration)
Public Shared Function GetDayOfMonth ( _
	week As Integer, _
	weekDay As Integer, _
	month As Integer, _
	year As Integer, _
	hour As Integer, _
	min As Integer _
) As DateTime
Visual C++
public:
static DateTime GetDayOfMonth(
	int week, 
	int weekDay, 
	int month, 
	int year, 
	int hour, 
	int min
)

Parameters

week
Type: System..::.Int32
For which week - legal values are first, second, third, forth or last
weekDay
Type: System..::.Int32
The day of the week legal values are 0(Sunday) to 6(Saturday)
month
Type: System..::.Int32
The month in question
year
Type: System..::.Int32
The year in question
hour
Type: System..::.Int32
The hour past midnight
min
Type: System..::.Int32
The minute in question

See Also