Goose87 Posted July 27, 2007 Share Posted July 27, 2007 Hi, I am generating a 'timer' for my website. So i have time()+3600 and then if timer > time then they can't do an activity. The problem I'm having is am I meant to use the timestamp as the database item for that? I've tried timestamp but it's not working properly. I have the format 0000-00-00 00:00:00 or something, and it's not what i expected! Is there some other way to do it, so i can do time() + 300 for 5minutes increase on the timer? Thanks, Goose. Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 27, 2007 Share Posted July 27, 2007 http://ca.php.net/manual/en/function.time.php ... returns the current time measured in the number of seconds ... The manual will help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.