I am paging some purchases that have specific dates, and when I pass as a parameter that a date should be < that date("Y-m-t", time() + 14*24*60*60)
, which in the case would have to be 2 weeks, he pages me 1 month. According to the php doc, 24*60*60
is 1 day, so date("Y-m-t", time() + 14*24*60*60)
would be 14 days / 2 weeks. Does anyone understand why this is so?