src/DateTime.php
public function getMicroseconds($asSeconds = false)
    {
        if ($asSeconds) {
            return round($this->microseconds * 1/1e6, 6);
        }

        return intval($this->microseconds);
    }
public function getMicroseconds($asSeconds = false)
    {
        if ($asSeconds) {
            return round($this->microseconds * 1/1e6, 6);
        }

        return intval($this->microseconds);
    }
public function getMicroseconds ( $ asSeconds = false ) { if ( $ asSeconds ) { return round ( $ this -> microseconds * 1 / 1e6 , 6 ) ; } return intval ( $ this -> microseconds ) ; }
Gets microseconds data from object

@param boolean $asSeconds If defined, microseconds will be converted to seconds with fractions
@return int|float
Gets microseconds data from object