Thanks for taking the time to reply, but that’s not really what I’m after.
The web service is returning the time that an event happened which is needed by the Python code running on the module; this is the time which is needed, not the time set on the module.
Which version of Python is this - be aware RE is a RAM-hungry module if running on a gateway. I wonder why the strptime isn’t found, it existed back in 2.4.x
I’d probably just chop the string up as sub-strings, so int(st[:4]) is the year and so on, but that’s just me.