I have this array;
Array
(
[2017-04-01] => 0
[2017-04-02] => 0
[2017-04-03] => 0
[2017-04-04] => 0
[2017-04-05] => 0
)
How can I format the date to have something like this ?
Array
(
[01-04-2017] => 0
[02-04-2017] => 0
[03-04-2017] => 0
[04-04-2017] => 0
[05-04-2017] => 0
)
Thanks.