Summary
Creates a DATE string using the entered date, then stores it in the specified address.
You can Write to DATE type if you register a device/PLC tag.
Format
SetDATE (Device address, DATE string)
Device address: DATE type tag
DATE string: fixed string (preview only)
Year: numerical value (Range: 1970 to 8191)
Month: numerical value (Range: 1 to 12)
Day: numerical value (Range: 1 to 31)
Example expression:
SetDATE("[w:[PLC1]TagName]","1970-01-01")
In the above example, write "1970-01-01" to DATE type device "[w:[PLC1]TagName]".