This function converts a date and time in SYSTIMEDATE format into the corresponding time stamp value. The time stamp indicates the number of seconds since January 1st, 1970 00:00:00.
Input/Output |
Type |
Description |
---|---|---|
pDate |
Date and time to be converted. |
|
pdwTimestampUtc |
DWORD |
Time stamp calculated from pDate. |
Output |
Type |
Description |
---|---|---|
SysTimeRtcConvertDateToUtc |
UDINT |
Runtime system error code (refer to CmpErrors.library): 0 = no error detected |
NOTE: An example using this function is provided in this document.