Krypton OutlookGrid Help
![]() | OutlookGridGroupHelpersGetFirstDayOfWeek Method (DateTime, CultureInfo) |
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)

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: DateTimeThe first day of week.
