In the above closure there is a link to PHP and Mysql solution. If you have any other specificities not covered by the links, please [Dit] the question and add appropriate data and tags. Remembering that in addition to the links above, there are many other posts on the site about time difference, the field of research can be useful.
Just copy from the second closing link: WHERE TIMEDIFF( data1, dataatual ) > intervalodesejado - Remembering that if you search the site, you will find other similar examples.
You have the javascript call to php?
– Sveen
ah? This is so php... just want php
– user21312321
In the above closure there is a link to PHP and Mysql solution. If you have any other specificities not covered by the links, please [Dit] the question and add appropriate data and tags. Remembering that in addition to the links above, there are many other posts on the site about time difference, the field of research can be useful.
– Bacco
But I would like the information regarding UPDATE and not IF data lalala... How do I in UPDATE WHERE data_1 < TIME(Hours) 30min
– user21312321
Just copy from the second closing link:
WHERE TIMEDIFF( data1, dataatual ) > intervalodesejado
- Remembering that if you search the site, you will find other similar examples.– Bacco