7.13.1 CONCAT_DATE_TOD
Function
Combine date DATE and time TOD and output the return value
- If the input or output exceeds the range of the data type, the return value is 0
LD graphics

Parameter description
| Interface variable | Declaration | Data type | Description |
|---|---|---|---|
| DATEVAR | Var_Date | DATE | Date: year month day |
| TODVAR | Var_Tod | TOD | Time: hours minutes second |
| Function name | Return value | DT | Date + Time |
Example
- An LD example is shown in the following animation:

- ST example is shown in the following code:
OUT:=CONCAT_DATE_TOD(DATEVAR:=dateVar,TODVAR:=todVar);