write timestamp to eeprom