IsLastOccurrenceInMonth Method
In This Topic
Indicates whether a date is the last occurrence of a given weekday in the month. For example, if the value is a Monday, this
method returns True if the date is the last Monday of the month, or False if there are other Mondays after it.
Syntax
'Declaration
Public Shared Function IsLastOccurrenceInMonth( _
ByVal As Date _
) As Boolean
public static bool IsLastOccurrenceInMonth(
DateTime
)
public:
static bool IsLastOccurrenceInMonth(
DateTime
)
Parameters
- value
See Also