CONCAT_DATE_TOD - Adds a time of day value to a date

Help Contents

Introduction

Adds a time of day value to a date returning a date and time value.

Informal Syntax:

CONCAT_DATE_TOD( In1, In2 )

Formal Syntax:

CONCAT_DATE_TOD( In1:=expression, In2:=expression )

Parameters

ParameterTypeDescription
In1DATEThe date value.
In2TIME_OF_DAYThe time of day value to add to the date value.

Return Value

The function CONCAT_DATE_TOD returns a date and time value, the result of In1 - In2.

Examples

ExampleReturn Value
CONCAT_DATE_TOD( DATE#2013-01-10, TOD#08:59:00.000 )DT#2013-01-10-08:59:00.000

Standards Compliance

Table 30.12 - IEC 61131-3 Second Edition.

Table 36.1a - IEC 61131-3 Third Edition.

Further Information

Date and Time Functions

For other date and time functions.

Glossary

For the meaning of terms used in Fernhill SCADA.