| WeekOverviewSelectionGetWeekOfYear Method (DateTime, CultureInfo) |
Gets year week number for a given date.
Namespace:
Dynamicweb.Controls.OMC
Assembly:
Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax public static int GetWeekOfYear(
DateTime timestamp,
CultureInfo culture
)
Public Shared Function GetWeekOfYear (
timestamp As DateTime,
culture As CultureInfo
) As Integer
Parameters
- timestamp
- Type: SystemDateTime
Target date. - culture
- Type: System.GlobalizationCultureInfo
Target culture.
Return Value
Type:
Int32Year week for a given date.
Remarks See Also