- microtime: documentation ( source)
- date: documentation ( source)
- number_format: documentation ( source)
<?php
echo date('T');
$now = DateTime::createFromFormat('U.u', number_format(microtime(true), 6, '.', ''))->setTimezone(new \DateTimeZone(CEST));
echo $now->format("Ymd H:i:s");