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

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

Parameters

date
Type: SystemDateTime
Date

Return Value

Type: DateTime
See Also