src/Graze/Monolog/Event.php
private function getNow()
    {
        $timezone = new DateTimeZone(date_default_timezone_get() ?: 'UTC');

        return DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)))->setTimezone($timezone);
    }
private function getNow()
    {
        $timezone = new DateTimeZone(date_default_timezone_get() ?: 'UTC');

        return DateTime::createFromFormat('U.u', sprintf('%.6F', microtime(true)))->setTimezone($timezone);
    }
private function getNow ( ) { $ timezone = new DateTimeZone ( date_default_timezone_get ( ) ? : 'UTC' ) ; return DateTime :: createFromFormat ( 'U.u' , sprintf ( '%.6F' , microtime ( true ) ) ) -> setTimezone ( $ timezone ) ; }
returns a datetime object representing the current instant with microseconds

@return \DateTime
returns a datetime object representing the current instant with microseconds