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
 Inputs
VAR_INPUT
    DTIN  : DT;
END_VARName  | Type  | Description  | 
|---|---|---|
DTIN  | DT  | 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  |