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. Link to comment https://forums.phpfreaks.com/topic/62118-timestamp/ 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. Link to comment https://forums.phpfreaks.com/topic/62118-timestamp/#findComment-309273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.