Logo Search packages:      
Sourcecode: qt4-x11 version File versions

int QDateTime::daysTo ( const QDateTime other  )  const

Returns the number of days from this datetime to the other datetime. If the other datetime is earlier than this datetime, the value returned is negative.

See also:
addDays(), secsTo()

Definition at line 2360 of file qdatetime.cpp.

References d.

    return d->date.daysTo(other.d->date);

Generated by  Doxygen 1.6.0   Back to index