OutlookGridGroupHelpers.GetFirstDayOfWeek Method (DateTime, CultureInfo)

Krypton OutlookGrid

OutlookGridGroupHelpersGetFirstDayOfWeek Method (DateTime, CultureInfo)
Krypton OutlookGrid v1.6.0
Returns the first day of the week that the specified date is in.

Namespace: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid
Assembly: JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid (in JDHSoftware.Krypton.Toolkit.KryptonOutlookGrid.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
public static DateTime GetFirstDayOfWeek(
	DateTime dayInWeek,
	CultureInfo cultureInfo
)
Public Shared Function GetFirstDayOfWeek ( 
	dayInWeek As DateTime,
	cultureInfo As CultureInfo
) As DateTime

Parameters

dayInWeek
Type: SystemDateTime
The date to analyse
cultureInfo
Type: System.GlobalizationCultureInfo
The CultureInfo

Return Value

Type: DateTime
The first day of week.
See Also