Platform Core .NET Assemblies API
DayOfWeek Method
See Also  Send Feedback
Terrasoft.Common Namespace > DateTimeUtilities Class : DayOfWeek Method
datetime
Date of the System.DateTime type.

Glossary Item Box

Gets the number of the day of week for a date value.

Syntax

 
C#
 
 

Parameters

datetime
Date of the System.DateTime type.

Return Value

Number of weekday: 1 - Monday, 7 - Sunday.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.