Click or drag to resize

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
)

Parameters

timestamp
Type: SystemDateTime
Target date.
culture
Type: System.GlobalizationCultureInfo
Target culture.

Return Value

Type: Int32
Year week for a given date.
Remarks