- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
function convert_date($date) {
$part_date = explode(" ", $date);
$part_day = explode("-", $part_date[0]);
$year = $part_day[0];
$month = $part_day[1];
$day = $part_day[2];
$part_time = explode(":", $part_date[1]);
$hour = $part_time[0];
$min = $part_time[1];
$result = $day . "." . $month . "." . $year;
return $result;
}