- var_dump: documentation ( source)
- microtime: documentation ( source)
- date_create_from_format: documentation ( source)
- sprintf: documentation ( source)
<?php
$date = date_create_from_format(
'U.u', sprintf('%.f', microtime(true))
)->format('Y-m-d\TH:i:s.uO');
var_dump($date);