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

int QTime::second (  )  const

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

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

Definition at line 1296 of file qdatetime.cpp.

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

{
    return (ds() / 1000)%SECS_PER_MIN;
}


Generated by  Doxygen 1.6.0   Back to index