compare two time in php - Google Search

PHOTO EMBED

Sun Dec 26 2021 11:29:30 GMT+0000 (Coordinated Universal Time)

Saved by @khalidlogi #php

$today = date("Y-m-d");
$expire = $row->expireDate; //from database

$today_time = strtotime($today);
$expire_time = strtotime($expire);

if ($expire_time < $today_time) { /* do Something */ }
content_copyCOPY

https://www.google.com/search?q