I have a strange issue regarding device time when the particle photon is not connected to the cloud. we try to have the particle collect some data once a day, and store the data in the EEPROM, for a few days when the particle does not have cloud access. as soon as the particle is connected to the cloud, it will send out the data collected.
everything seems OK, except the time stamp is getting a negative number. For instance, the first day everything is good including the time stamp. the second day and so on, all data are good except the time stamp turned into negative numbers. these are the 4 recent time stamps: 1490621744, -2678259, -2678185, -2678220. the weird thing is, when we first tested the program, it did not have this issue. only recently we started to have this issue.
can someone shed some light into this?
Thanks in advance.