SysTimeRtcConvertHighResToLocal
(FUN)
FUNCTION SysTimeRtcConvertHighResToLocal : RTS_IEC_RESULT
<description> Convert a high resolution timestamp [UTC] to a structure format [Localtime] </description> <errorcode name=”RTS_RESULT Result” TYPE=”ERR_OK”>Timestamp can be converted</errorcode> <errorcode name=”RTS_RESULT Result” type=”ERR_FAILED”>Timestamp failed to convert</errorcode> <errorcode name=”RTS_RESULT Result” type=”ERR_NOTIMPLEMENTED”>Conversion is not available on the target</errorcode> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTimeRtcConvertHighResToLocal
RTS_IEC_RESULT
Inout
pTimestamp
SYSTIME
<param name=”pTimestamp” type=”IN”>Milliseconds since 1.1.1970 00:00:000 [UTC]</param>
pDate
<param name=”pDate” type=”OUT”>Structure format [Localtime]</param>