The following example is for when In is D#2011-1-1.
LD
D#2011-1-1
In
D#2011-1-1
Related System-defined Variables
Name
_CurrentTime
NY-series Instructions Reference Manual (W560)
GetDayOfWeek
EN
ENO
abc
In
Day of the week
_SAT
Out=abc
Meaning
System Time of Day
DT
ST
abc:=GetDayOfWeek(D#2011-1-1);
Day of the week
Data type
The time of day from the system clock. The num-
ber of seconds from 00:00:00 on January 1,1970.
2 Instruction Descriptions
Description
2
2-643