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: 12.0.0
Syntax
C#
public static DateTime GetYearStart(
	DateTime date
)

Parameters

date
Type: SystemDateTime
Date

Return Value

Type: DateTime
See Also