Click or drag to resize
DateTimeHelper.GetYearStart Method
Gets the first day of the year from specific date.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static DateTime GetYearStart(
	DateTime date
)

Parameters

date
Type: System.DateTime
Date

Return Value

Type: DateTime
See Also