I’m collecting sensor data that contains separate bytes for sec,min,hr,dom,mo (year is assumed). Instead of sending all those bytes off to InitialState with each record, I’d like to convert to an epoch stamp. Is there a code snippet (function) available that will do this for me?
If I remember reading it right epoch is a 32 bit number so I’m assuming that the conversion will save me 2 bytes of data transfer.
Yes. The time I’m talking about is generated at the remote sensors and archived there for several minutes before being burst out to the base (which contains the imp). The sensor processor does not do ‘time’ but gets it from an RTC.