Timestamp
Posted: Mon May 26, 2014 8:32 am
Hi all,
Occassionally, my RA resets and I have been tryign to track how often it happens and when. I'd like to add something in the setup to timestamp everytime it happens. I think I can use a counter varible to show how many times it has reset ina memory location, but I'd also like to make a timestamp and put it in memory as well. Is there a way to record now() or millis() and deconvulute it to date/time? Or should I store each piece in a different memory location (day, month, year, hour, minute, second)? Seems like there must be a common way to do this.
Thanks,
Jon
Occassionally, my RA resets and I have been tryign to track how often it happens and when. I'd like to add something in the setup to timestamp everytime it happens. I think I can use a counter varible to show how many times it has reset ina memory location, but I'd also like to make a timestamp and put it in memory as well. Is there a way to record now() or millis() and deconvulute it to date/time? Or should I store each piece in a different memory location (day, month, year, hour, minute, second)? Seems like there must be a common way to do this.
Thanks,
Jon