In the examples in Table 173, the first day of the week is the SWEEK IOA installation parameter default: Monday. Therefore, Monday=1, Tuesday=2, ..., Saturday 6, Sunday=0.
Table 173 GETWDAY Function Examples
Function |
Returns value: |
---|---|
GETWDAY(001220) |
3 |
GETWDAY(000101) |
6 |
GETWDAY(000222) |
2 |
GETWDAY('ABCDEF') |
Error |
Parent Topic |