Jump to content

timestamp


Goose87

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.