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

int QTime::minute (  )  const

Returns the minute part (0 to 59) of the time.

See also:
hour(), second(), msec()

Definition at line 1285 of file qdatetime.cpp.

Referenced by QAbstractFormBuilder::createProperty(), fromString(), QDateTimeEdit::stepBy(), QLocale::toString(), and toString().

{
    return (ds() % MSECS_PER_HOUR) / MSECS_PER_MIN;
}


Generated by  Doxygen 1.6.0   Back to index