How do I make time running when I'm offline. For example user inserted time into database 01:30:00. And after one hour and thirty minutes time will be 00:00:00. So how do we do that? I think you can't do it with plain SQL. We need to use another programming language, but which one? You can't do it with PHP it works only when you are online.