Cordial greeting,
I have a Mysql database and I pass the value of a column called hour to a JSONArray, my problem is that I do not know how to compare if the time in database is greater than the time in the database server.
JSONArray ja = new JSONArray(result);
ja.getString(3) ---> Este es el arreglo que tiene la hora almacenada en base de datos
And I want to compare it like that, although I know it's not the way:
if (ja.getString(3) >= Time()) { }...