F_BA_DayOfWeek

The function F_BA_DayOfWeek of return type E_BA_Weekday determines the corresponding weekday from a given date stDate.
Syntax
FUNCTION F_BA_DayOfWeek : E_BA_Weekday
VAR_INPUT
  stDate    : ST_BA_Date;
END_VAR Inputs
 Inputs
| Name | Type | Description | 
|---|---|---|
| stDate | Date from which the day of the week is determined. | 
Requirements
| Development environment | Required PLC library | 
|---|---|
| TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |