I have dates in the following format:
2016-10-12
| | |
YEAR M D
and I need:
12.10.16
| | |
D M YEAR
I have managed to parse date in source format:
$date = date_parse_from_format('YYYY-mm-dd', $dateYYYYMMDD);
But I am having trouble converting it to a new format. Could you please help.