Someone help me ... Thanks. It's the following I have an Api with Php + Sql and it returns the data to me in Json. In my data has two fields openRestaurant and closeRestaurant, this data are registered in the bank in the format of hours, opening hours of an establishment and the time that closes the establishment how can I make that comparison of hours and return me only the message open or closed on my Json instead of returning my hours registered?