Jump to content

[SOLVED] Time


mcmuney

Recommended Posts

1) I'm looking for a script that will pull current time and then determine if the current hour is an odd or even number... if odd, then do A, if even do B.

 

2) Based on #1 above, instead of odd and even, would like to use if then based on minute range. For example, if minute is between 1-5, do A else do B.

 

Thanks.

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