Convert webhook response data (sunset time) from 24hr to 12hr format

nevermind solved myself.

The package uses delimiters surrounding each piece of information. Curly brackets identify the package. There are quotation marks used etc.
Disassemble the package piece by piece.

Why not do as You suggested? If hour > 13, subtract 12?

Yes, You've got it.
Identify the ASCII characters for the time and use the function atoi, ASCII to integer.
Check arduino/reference/atoi.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.