public function difference(QDateTime $dttDateTime)
    {
        $intDifference = $this->Timestamp - $dttDateTime->Timestamp;
        return new DateTimeSpan($intDifference);
    }
public function difference(QDateTime $dttDateTime)
    {
        $intDifference = $this->Timestamp - $dttDateTime->Timestamp;
        return new DateTimeSpan($intDifference);
    }
public function difference ( QDateTime $ dttDateTime ) { $ intDifference = $ this -> Timestamp - $ dttDateTime -> Timestamp ; return new DateTimeSpan ( $ intDifference ) ; }
Returns the difference as a QDateSpan, which is easier to work with and more full featured than
the php DateTimeInterval class.

@param QDateTime $dttDateTime
@return DateTimeSpan
Returns the difference as a QDateSpan which is easier to work with and more full featured than the php DateTimeInterval class .