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

Namespace: DayPilot.Utils
Assembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.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