Thank you.
in the code
if($day > 3 || $day == 0)
does the || mean or ?
Also if
sunday = 0
monday =1
tuesday = 2
wednesday = 3
thursday = 4
friday = 5
saturday = 6
should the code be
if($day > 4 || $day == 0)
{
if(($day == 5 && $hour < 16)) //friday
{
In otherwords if day is greater than thursday return true
but if day is friday and hour is less than 16 return false ?
Again sorry for all the questions just trying to fully understand.
(who knows may help with other scripting I try to attempt
😉 )
Thanks
Chris