SysTimeRtcConvertDateToHighRes (FUN)

FUNCTION SysTimeRtcConvertDateToHighRes : RTS_IEC_RESULT

<description> This function converts the time given by time structure into a High Resolution Time of format SysTime.

Time values are always UTC!</description>

<result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>

InOut:

Scope

Name

Type

Comment

Return

SysTimeRtcConvertDateToHighRes

RTS_IEC_RESULT

Inout

pDate

SYSTIMEDATE

<param name=”pDate” type=”IN”>Structure format</param>

pTimestamp

SYSTIME

<param name=”pTimestamp” type=”OUT”>Milliseconds since 1.1.1970 00:00:000 UTC</param>