Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetWeekday - method of the PmDateObject object

Description:
day of the week (integer 0-6).
Syntax:
Long GetWeekday()
Note:
Values: 0=Sunday, 1=Monday ... 6=Saturday.
 
This method is also functional in Web panels.
See also:
Example:
JavaScriptSelect and copy to clipboard

var tDate = Pm.CreatePmDateObject();
var nWeekDay = tDate.GetWeekday();

History:
Pm8.03.00: Created
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice