Adds a time of day value to a date returning a date and time value.
Informal Syntax:
Formal Syntax:
CONCAT_DATE_TOD( DATE:=expression, TOD:=expression )
| Parameter | Type | Description |
|---|---|---|
| DATE | DATE | The date value. |
| TOD | TIME_OF_DAY | The time of day value to add to the date value. |
The function CONCAT_DATE_TOD returns a date and time value, the result of DATE + TOD.
| Example | Return Value |
|---|---|
| CONCAT_DATE_TOD( DATE#2013-01-10, TOD#08:59:00.000 ) | DT#2013-01-10-08:59:00.000 |
IEC 61131-3 Second Edition: Table 30.12.
IEC 61131-3 Third Edition: Table 36.1a.
For other date and time functions.
For the meaning of terms used in Fernhill SCADA.