Easy Tutorial
❮ Prop Webcontrol Standard Borderstyle Prop Webcontrol Bulletedlist Bulletimageurl ❯

ASP.NET CalendarDay IsWeekend Property



Definition and Usage

The IsWeekend property is used to determine whether a date is a Saturday or a Sunday.

If the date is on a weekend, this property returns "TRUE"; otherwise, it returns "FALSE".


Example

The following example shows whether the selected date is on a weekend:


❮ Prop Webcontrol Standard Borderstyle Prop Webcontrol Bulletedlist Bulletimageurl ❯