php question… how to check if something is between two values?

后端 未结 5 1857
你的背包
你的背包 2021-01-23 08:40

I know I\'m missing something easy here... I\'ve been trying different operators, but haven\'t been able to figure this out...

How do I go about checking to see if the

5条回答
  •  清歌不尽
    2021-01-23 09:05

    wouldn't this work ?

     ( ($lowerlimitdate <= $checkingdate) && ($checkingdate <= $upperlimitdate))
    

提交回复
热议问题