Hello,
I have a device which stores time in its flash memory as the number of seconds since 01/01/1970. One of my roles is to get/set its time. I would like to know the most efficient code to convert the time collected from the device to a readable date, then convert the updated date back to number of seconds since 01-01-1970 before sending it to the device.
Thanks!
Mart
I have a device which stores time in its flash memory as the number of seconds since 01/01/1970. One of my roles is to get/set its time. I would like to know the most efficient code to convert the time collected from the device to a readable date, then convert the updated date back to number of seconds since 01-01-1970 before sending it to the device.
Thanks!
Mart
Comment