This field contains the time the alarm was cleared.
If the alarm has not been cleared, this field contains a zero (0).
This example calculates the number of hours and minutes an alarm was or has been in alarm state.
if (alarm_ptr->cleared_time == 0)
duration = ourtime +
duration = alarm_ptr->cleared_time -
minutes = duration / 60;
seconds = duration - ( minutes * 60 );
CAmvAlarm Class member overview.