Jump to content

Can you use the now() this way?


apw

Recommended Posts

Hello im trying to use the now() to capture the time a player clicks on the upgrade button. Once the player has done that i would like to add time that now() has captured. If now() has 07:15:00 i want to add an extra 15-minutes to this time then compare the two times to see if the 15-minutes has passed for an event to occur! How would you do this? Thanks!

Link to comment
https://forums.phpfreaks.com/topic/174306-can-you-use-the-now-this-way/
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.