Converts a Year, Month and Date value into a calendar date.
Informal Syntax:
CONCAT_DATE( Year, Month, Date )
Formal Syntax:
CONCAT_DATE( Year:=expression, Month:=expression, Date:=expression )
Parameter | Type | Description |
---|---|---|
YEAR | ANY_INT | The year value. The valid range of this parameter is 1601 to 9999 |
MONTH | ANY_INT | The month value. The valid range of this parameter is 1 to 12. |
DATE | ANY_INT | The date value. The valid range of this parameter is 1 to 31. |
The function CONCAT_DATE returns a DATE value, the result of converting a Year, Month and Date to a calendar date.
Example | Return Value |
---|---|
CONCAT_DATE( 2020, 8, 23 ) | D#2020-08-23 |
IEC 61131-3 Third Edition: Table 36.2a.
For other date and time functions.
For the meaning of terms used in Fernhill SCADA.