GET_DATETIME

Role

This command allows to read 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

Free.

Command

Field Value
CLA 58 (CONTROL)
INS 85
Data None

Response

Field Content
Data byte 0 Year (2 digits format)
Data byte 1 Day
Data byte 2 Month
Data byte 3 Hour
Data byte 4 Minute
Data byte 5 Second