i've got little problem here. I recieve reg\_time from database in this format: Y-m-d H:i:s (2020-08-26 13:50:11)
and i want to compare it with current time: $today = date("Y-m-d H:i:s");
Is there any function for it? THX