Jump to content

IF set by TIME


master82

Recommended Posts

  • 2 weeks later...
Actually can I take this a liitle further...

if (date("i")>54) {
  echo "link here";
}

What would be the changes needed so that I can see the true value if the time is between 23:55 and 00:05

just a quick guess...

if (date("H")>22 AND date("i")>54 AND date("H")<01 AND date("i")<05) {
  echo "link here";
}
Link to comment
https://forums.phpfreaks.com/topic/35092-if-set-by-time/#findComment-177397
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.