Jump to content

PhP Time Help


Coder_PhP

Recommended Posts

Sry if this is in the wrong section, im new here.

 

Im trying to display something if the time is greater than TIME_NOW

 

Im currently using something like this:

 

	$first = TIME_NOW - (86400*$settings['settings1']);

if($first > (86400*$settings['settings2'])
{

	$text = "Display my text here";
}

 

Its hard to explain , but hopefully some of you guys can see what im trying to do

 

Basically i want to call TIME_NOW , let the user set the setting to display the "$text" 5 minutes later.  :confused:

Link to comment
https://forums.phpfreaks.com/topic/223158-php-time-help/
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.