Update cookies preferences
Promotic

Weekday - function of language VBScript

Description:
Day of the week.
Syntax:
Integer Weekday(Date date, [Integer firstdayofweek])
Parameters:
date(Date) Date
firstdayofweek[optional] (Integer) Specifies first day of the week (values see VBScript date and time constants).
The default value is vbSunday (Sunday).
Note:
The function returns any of these values (values see VBScript date and time constants).
Example:
VBScriptSelect and copy to clipboard

Dim tDate, nWeekday
tDate = #October 19, 2017#
nWeekday = Weekday(tDate)   ' nWeekDay contains 6 because tDate represents a Friday
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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