SyntaxFix
Write A Post
Hire A Developer
Questions
PHP array_walk() function is specifically for altering array.
Try this:
array_walk ( $data, function (&$key) { $key["transaction_date"] = date('d/m/Y',$key["transaction_date"]); });