Format time field

Hi, I need to format differently a field contained in a trap …parm[2] … (a time that is in the snmp format) how can I do?
Thanks a lot

Could you share an example of the trap and the expected format? That’ll help me better guide you.

I’m guessing your looking at formatting the field in an event?

It is simply a field related to the time in which the alarm occurs. The field is called alarmTime and is configured via (parm [2]) in the file in / etc / events. The problem is that it is sent in a hexadecimal format like this 0x07d8031e03182b0002b0000 and I would like to transform it into a more readable format