Gets the first day of a week where day (parameter) belongs. Based on current culture.

Namespace: DayPilot.Web.Mvc.Utils
Assembly: DayPilot.Web.Mvc (in DayPilot.Web.Mvc.dll) Version: 8.0.5796.0 (8.0.5796.0)

Syntax

C#
public static DateTime FirstDayOfWeek(
	DateTime day
)
Visual Basic
Public Shared Function FirstDayOfWeek ( _
	day As DateTime _
) As DateTime
Visual C++
public:
static DateTime FirstDayOfWeek(
	DateTime day
)

Parameters

day
Type: System..::..DateTime

Return Value

See Also