Ejemplo n.º 1
0
//-----------------------------------------------------------------------------
int TTime::diffInSeconds( TTime const& losTime) const
{
    unsigned t2 = losTime.toUnixStamp();
    unsigned t1 = this->toUnixStamp();
    int diff = t2 - t1;
    return diff;
}