Bu soru burada zaten bir cevabı var:
- Comparing two dates 7 answers
Bu soru burada zaten bir cevabı var:
Sen Unix timestamps $dt=new DateTime($row_Recordset1['expire_date']);
strtotime
, assuming they start out as a string, and then they'll just be integers, which you can compare. Another option would be to use DateTime
objects, which can be compared using comparison operators. If your date is represented as a format strtotime
, yapabileceğiniz anlayan kullanarak bunları açabilirsiniz