22.11.5.2 Write to DATE type

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.

SetDATE (Device address, DATE string)

Example expression:

SetDATE("[w:[PLC1]TagName]","1970-01-01")

In the above example, write "1970-01-01" to DATE type device "[w:[PLC1]TagName]".