SysTimeRtcConvertUtcToDate (FUN)

FUNCTION SysTimeRtcConvertUtcToDate : RTS_IEC_RESULT

<description>Convert UTC timestamp in seconds to a structured format</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysTimeRtcConvertUtcToDate

RTS_IEC_RESULT

Input

dwTimestampUtc

DWORD

<param name=”dwTimestampUtc” type=”IN”>UTC time in seconds since 1.1.1970 00:00:00</param>

Inout

pDate

SYSTIMEDATE

<param name=”pDate” type=”OUT”>Pointer to structure format. See category for detailed information</param>