SYSTEMTIME_TO_FILETIME64

SYSTEMTIME_TO_FILETIME64 1:

The function can be used to convert the Windows system time structure into the FILETIME format. The day of the week wDayOfWeek of the SystemTime variable is ignored. The system time year must be greater than 1601 and less than 30827.

FUNCTION SYSTEMTIME_TO_FILETIME64 : T_FILETIME64

SYSTEMTIME_TO_FILETIME64 2: Inputs

VAR_INPUT
    systemTime : TIMESTRUCT;
END_VAR

Name

Type

Description

systemTime

TIMESTRUCT

The structure with the Windows system time to be converted

Return parameter

Description

0

Error, wrong SystemTime parameter value

> 0

No error, file time

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