DT_TO_FILETIME64
The function "DT_TO_FILETIME64" can be used to convert a PLC variable in DATE_AND_TIME format (DT) to FILETIME format (64 bit).
FUNCTION DT_TO_FILETIME64 : T_FILETIME64
VAR_INPUT
VAR_INPUT
DTIN : DT;
END_VAR
DTIN: The date and time to be converted, in DATE_AND_TIME format.
Requirements
Development environment | Target platform | PLC libraries to be integrated (category group) |
---|---|---|
TwinCAT v3.1.4024 | PC or CX (x86, x64, ARM) | Tc2_Utilities (System) >= 3.3.44.0 |