I have a web service that returns timestamps in ISO 8601 format, e.g.,
I'm trying to turn the timestamp string into a tm type struct from the ESP8266 library
<time.h>, to perform time calculations using the
I've been referring to the Redhat time functions https://sourceware.org/newlib/libc.html#time, as it seem to be compatible with the ESP library, though all i can find are functions converting tm structs to timestamp strings. Are there any functions to convert a string timestamp into a tm struct and then back into epoch? Or what would be the best way to approach this kind of conversion on the ESP8266 platform?