I have a simple IOT sketch which reads the temperature and saves the highest and lowest values. I want to save the time as well but can only find the example : time = ArduinoCloud.getLocalTime(), which returns a huge number.
Can I use another way and link these events to a time picker or is there a simple conversion, where I get a readable variable?
I have searched the forum and seen others with the same type of issue but no solution.
I don’t see how anyone could offer useful help without at least seeing your code.
The time is probably the time in seconds since midnight 01/01/1970 (unix timestamp).
You can use the time library (you might have to install it) and use the breaktime function on the value that is returned by getLocalTime().