DateTimeExtensions.IsWeekday method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time.Extensions
Assembly Skybrud.Essentials.dll

IsWeekday(DateTime)

Extension method

Gets whether the specified date is a weekday.

public static bool IsWeekday(this DateTime date)

Parameters

date DateTime

An instance of DateTime representing the date.

Returns

true if date is a weekday; otherwise false.