1echo strtotime("now"); //1624416532
2echo date("d M. Y", strtotime("now")); // 23 Jun. 2021
3
4$time_c = strtotime("2021-06-07 05:57:51");
5echo date("d M. Y", $time_c); // 07 Jun. 2021
6echo date("H:i", $time_c); // 05:57
1$date = '25/05/2010';
2$date = str_replace('/', '-', $date);
3echo date('Y-m-d', strtotime($date));
1$date = '25/05/2010';
2$date = str_replace('/', '-', $date);
3echo date('Y-m-d', strtotime($date));
4