Mostrar data da data com milissegundos php
$now = DateTime::createFromFormat('U.u', microtime(true));
echo $now->format("m-d-Y H:i:s.u");
Annoying Alligator
$now = DateTime::createFromFormat('U.u', microtime(true));
echo $now->format("m-d-Y H:i:s.u");
$date = "2021-07-05 08:35:21.000000";
$d = strtotime($date);
echo date("Y-m-d h:i:s", $d);