Core/src/Timestamp.php
public function nanoSeconds()
    {
        return $this->nanoSeconds === null
            ? (int) $this->value->format('u') * 1000
            : $this->nanoSeconds;
    }
public function nanoSeconds()
    {
        return $this->nanoSeconds === null
            ? (int) $this->value->format('u') * 1000
            : $this->nanoSeconds;
    }
public function nanoSeconds ( ) { return $ this -> nanoSeconds === null ? ( int ) $ this -> value -> format ( 'u' ) * 1000 : $ this -> nanoSeconds ; }
Return the number of nanoseconds.

Example:
```
$nanos = $timestamp->nanoSeconds();
```

@return int
Return the number of nanoseconds .