I am trying to extract the timestamp for alarm events inside an implementation of IAlarmNotifier. The value returned by IAlarm.GetTimestampActive is of type Timestamp.
The documentation for this type states
A type similar to SysTimeCore.SYSTIME, that is a signed type in contrast to the unsigned type SysTimeCore.SYSTIME. This signed type avoids warning during the IEC code conversion (because the IEC type ULINT doesn't have an exact counterpart in in java). The signed type can be used without any problems because using the 63 bits of the LINT value allows us to represents dates up to the year 30000.
When I look at SysTimeCore.SYSTIME its documentation states
High resolution time datatype to hold ticks
I find the type used to hold ticks in microseconds or nanoseconds. My understanding though is that this time is NOT linked to the RTC.
What I was hoping to do was to extract the timestamp values and manipulate them to be milliseconds from 1970. Is this possible?