WeekdayName - function of language VBScript

Returns the name of day in week.
String WeekdayName(Integer nWeekday, [Boolean bAbbreviate], [Integer nFirstDayOfWeek])
nWeekday(Integer) The numeric designation for the day of the week (1-based index). Numeric value of each day depends on setting of the nFirstDayOfWeek setting.
bAbbreviate[optional] (Boolean) Logical value specifies whether the weekday name is to be abbreviated. If not set, then the default value is false (means the weekday name is not abbreviated).
nFirstDayOfWeek[optional] (Integer) Numeric value indicating the first day of the week (values see VBScript Date and Time constants). If not set, then vbSunday is assumed.
VBScriptSelect and copy to clipboard

Dim sDate
sDate = WeekdayName(2, false, vbMonday)   ' sDate contains "Tuesday"
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.