php - check if the date passed 30min

Asked

Viewed 78 times

0

How do I make UPDATE only Edit dates that exceed 30 MINUTES!???

  • You have the javascript call to php?

  • ah? This is so php... just want php

  • 1

    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.

  • But I would like the information regarding UPDATE and not IF data lalala... How do I in UPDATE WHERE data_1 < TIME(Hours) 30min

  • 1

    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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.