<?php $data['G'] = '7/6/2015 19:17:13'; echo date('Y-m-d',strtotime(explode($data['G'],' ')[0]));
You have javascript disabled. You will not be able to edit any code.