Click or drag to resize
DateTimeHelperGetWeekOfYear Method (DateTime, String)
Gets the week of year number.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static int GetWeekOfYear(
	DateTime time,
	string culture
)

Parameters

time
Type: SystemDateTime
DateTime value
culture
Type: SystemString
Culture

Return Value

Type: Int32
See Also