I have json file that is of that format. in Php i created variable that writes time in this format date(h:i:s) to file everytime its being overwritten.
{"Time":"11:01:57","Temperature":"21.00","Temperature2":"69.80","Humidity":"49.00"}
In client side I want using jquery compare this time from file wtih current time. For example if the difference is lets say 5 minutes then execute something. I dont know how to aproach this