GET_DATETIME

Role

This command allows to set the device’s current date and time. This value is relevant only if the device features a RTC (battery-backed-up real-time clock).

Access condition

Depending on the configuration-defined access conditions and on the type of host interface (Local / Remote), this instruction may either be freely usable, restricted to communications authenticated by HostCommAdminKey only, or disabled.

Command

Field Value
CLA 58 (CONTROL)
INS 86
Data byte 0 Year (2 digits format)
Data byte 1 Month
Data byte 2 Day
Data byte 3 Hour
Data byte 4 Minute
Data byte 5 Second