Krypton OutlookGrid Help
OutlookGridGroupHelpersGetFirstDayOfWeek Method (DateTime) |
Returns the first day of the week that the specified date is in using the current culture.
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 )
Public Shared Function GetFirstDayOfWeek ( dayInWeek As DateTime ) As DateTime
Parameters
- dayInWeek
- Type: SystemDateTime
The date to analyse
Return Value
Type: DateTimeThe first day of week.
See Also