DateTimeExtensions..::..IsWeekend Method (DateTime)

Determines whether this instance is weekend. Lets you easily figure out ifdateTime holds a date value that is a weekend.

Namespace:  Core
Assembly:  Core (in Core.dll)

Syntax


public static bool IsWeekend(
	DateTime value
)

Parameters

value
Type: DateTime
The value.

Return Value

true if the specified value is weekend; otherwise, false.