F_BA_ToSTDateTime

The function F_BA_ToSTDateTime of return type ST_BA_DateTime converts a time value dtDateTime of type DT (DATE_AND_TIME) into a time value of type ST_BA_DateTime.
Syntax
FUNCTION F_BA_ToSTDateTime : ST_BA_DateTime
VAR_INPUT
dtDateTime : DT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
dtDateTime | DT | Time input value to be converted. |
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT 3.1 4024.35 | Tc3_BA2_Common from V2.1.20.0 |