There are times when viewing the ipmi logs via the following command, the date and time is incorrect.
# ipmitool sel elist last 20
2b7 | 07/26/2022 | 13:53:16 | Critical Interrupt | Bus Correctable error | Asserted
2b8 | 07/26/2022 | 13:53:16 | Critical Interrupt | Bus Correctable error | Asserted
2b9 | 07/26/2022 | 13:53:16 | Critical Interrupt | Bus Correctable error | Asserted
2ba | 07/26/2022 | 13:53:16 | Critical Interrupt | Bus Correctable error | Asserted
2bb | 07/26/2022 | 13:53:16 | Critical Interrupt | Bus Correctable error | Asserted
2bc | 07/26/2022 | 13:53:16 | Critical Interrupt | Bus Correctable error | Asserted
2bd | 07/26/2022 | 13:53:16 | Power Supply PSU1_STATUS | Power Supply AC lost | Asserted
2be | 07/26/2022 | 13:53:16 | Power Supply PSU1_STATUS | | Deasserted
2bf | 07/26/2022 | 22:19:23 | System ACPI Power State ACPI_PWR_STATE | Legacy ON state | Asserted
2c0 | 07/26/2022 | 22:19:23 | Processor CPU0_PRESENT | Presence detected | Asserted
2c1 | 07/26/2022 | 22:19:23 | Processor CPU1_PRESENT | Presence detected | Asserted
2c2 | 07/26/2022 | 22:19:58 | Power Supply PSU0_STATUS | Presence detected | Asserted
2c3 | 07/26/2022 | 22:19:58 | Power Supply PSU0_STATUS | | Asserted
2c4 | 07/26/2022 | 22:19:58 | Power Supply PSU1_STATUS | Presence detected | Asserted
2c5 | 07/26/2022 | 22:19:58 | Power Supply PSU1_STATUS | | Asserted
2c6 | 07/26/2022 | 22:19:59 | System ACPI Power State ACPI_PWR_STATE | Legacy ON state | Asserted
2c7 | 07/26/2022 | 22:19:59 | Processor CPU0_PRESENT | Presence detected | Asserted
2c8 | 07/26/2022 | 22:19:59 | Processor CPU1_PRESENT | Presence detected | Asserted
To obtain current BMC time according to the BMC
# ipmitool sel time get
08/16/2022 00:25:06
Dynamically change the BMC time
# ipmitool sel time set "$(date '+%m/%d/%Y %H:%M:%S')"
08/15/2022 18:27:41
Verify the new settings:
# ipmitool sel time get
08/15/2022 18:28:04