F_GetCurExtTime

![]()  | Outdated function This function is outdated. Use the function F_GetCurExtTime64 instead.  | 
The function returns the external time in TwinCAT distributed clock system time format (T_DCTIME).
FUNCTION F_GetCurExtTime: T_DCTIME
 Inputs
VAR_INPUT
   DcToExtTimeOffset : T_LARGE_INTEGER;
   DcToTcTimeOffset  : T_LARGE_INTEGER;
END_VARName  | Type  | Description  | 
|---|---|---|
DcToExtTime  | T_LARGE_  | Time offset between the TwinCAT "Distributed Clock" system time and an external time  | 
DcToTcTime  | T_LARGE_  | Time offset between the TwinCAT "Distributed Clock" system time and the TwinCAT system time  | 
Prerequisites
Development environment  | Target platform  | PLC libraries to include  | 
|---|---|---|
TwinCAT v3.1.0  | PC or CX (x86, x64, Arm®)  | Tc2_EtherCAT  | 
