<?php $date1 = '2017-06-15T13:16:47.079053900Z'; $date2 = '2017-06-15T13:17:23.536978600Z'; $x = new DateTime(explode('.', $date1)[0]); echo $x->format('Y-m-d H:i:s');
You have javascript disabled. You will not be able to edit any code.