show date time with milliseconds php
snippet in php

show date time with milliseconds php

user1597

$now = DateTime::createFromFormat('U.u', microtime(true));
echo $now->format("m-d-Y H:i:s.u");