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

后端 未结 5 1854
你的背包
你的背包 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 08:58

    the googles told me

    if ( strtotime($date) > strtotime('22/09/2008') && strtotime($date) < strtotime('28/09/2008'))
    

    http://answers.yahoo.com/question/index?qid=20081003113922AAHnQsp

提交回复
热议问题