Skip to content
Advertisement

How can I check if the time is more than an hour later?

So I have a database entry that update the date/time in yyyy-mm-dd hh:mm:ss.

Now I want to check, if there is a space inbetween the the database and the actual time from 60 minutes. How can I do that?

Example:

Advertisement

Answer

You can use something like this:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement