Dynamicweb 8 Documentation
GetDayName Method

Day number (1-7)
Indicates whether to return medium (True) or long (False) length name.
Indicates whether week starts on sunday (True) or Monday (False).
Returns long or medium length name of weekday
Syntax
'Declaration
 
Public Shared Function GetDayName( _ 
   ByVal DayNum As Integer, _ 
   Optional ByVal MedName As Boolean, _ 
   Optional ByVal StartOnSunday As Boolean _ 
) As String
public static string GetDayName( 
   int DayNum,
   bool MedName,
   bool StartOnSunday 
)

Parameters

DayNum
Day number (1-7)
MedName
Indicates whether to return medium (True) or long (False) length name.
StartOnSunday
Indicates whether week starts on sunday (True) or Monday (False).
Remarks
Output is translated.
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

Reference

Dates Class
Dates Members

Send Feedback