Question about comparing time in MicroPython



  • hi folks, I'm just learning micropython and trying to get my bearings.

    I have an API that is returning the time of some events, and I want to compare the times returned versus the current time and determine the difference. It seems like there's an ezdata function that provides the time in ISO8601? I have the event time in the format "15:00". How do I compare the current time and the event time to calculate the difference in minutes?