DT_TO_FILETIME

DT_TO_FILETIME 1:

The function "DT_TO_FILETIME" can be used to convert a PLC variable in DATE_AND_TIME format (DT) to FILETIME format (64-bit).

DT_TO_FILETIME 2: Return value

Name

Type

Description

DT_TO_FILETIME

T_FILETIME

 

DT_TO_FILETIME 3: Inputs

VAR_INPUT
    DTIN  : DT;
END_VAR

Name

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.0

PC or CX (x86, x64, Arm®)

Tc2_Utilities (System)