To display or change the device date, use the date command.
date [YYYY-MM-DDThh:mm:ss]
Parameter | Value | Mandatory | Description |
---|---|---|---|
(none) | − | − | Shows the current date and time. |
YYYY-MM-DDThh:mm:ss | Year, month, day, hour, minute, second | No | Sets a new date. |
Example of changing the date:
date 2020-12-02T13:50:36
Example response:
Date updated to 2020-12-02T13:50:36
$