Embedded Calendar

We are working on an embedded device with a small amount of memory. In this device there is no space for time libraries. The device should provide the current time in UTC with this format: 2020-02-11 14:12:18.123 (year-month-day hour:minute:second, where second has 3 decimals). Sometimes the device receives the current UTC time from an external source. The device is only aware of its uptime (milliseconds from the boot). We are writing a serial protocol to update the reference time and get current time. [Read More]
time