public function difference(DateTimeSpan $dtsSpan)
    {
        $intDifference = $this->Seconds - $dtsSpan->Seconds;
        $dtsDateSpan = new DateTimeSpan();
        $dtsDateSpan->addSeconds($intDifference);
        return $dtsDateSpan;
    }
public function difference(DateTimeSpan $dtsSpan)
    {
        $intDifference = $this->Seconds - $dtsSpan->Seconds;
        $dtsDateSpan = new DateTimeSpan();
        $dtsDateSpan->addSeconds($intDifference);
        return $dtsDateSpan;
    }
public function difference ( DateTimeSpan $ dtsSpan ) { $ intDifference = $ this -> Seconds - $ dtsSpan -> Seconds ; $ dtsDateSpan = new DateTimeSpan ( ) ; $ dtsDateSpan -> addSeconds ( $ intDifference ) ; return $ dtsDateSpan ; }
Calculates the difference between this DateSpan and another DateSpan

@param DateTimeSpan $dtsSpan
@return DateTimeSpan
Calculates the difference between this DateSpan and another DateSpan