The QTime class provides clock time functions in Qt Framework.

The QTime class provides clock time functions. All functions in this class are reentrant.

An object of Qt class can be used to provide various measurements related to system time. This class contains APIs to compare time, measure elapsed time and manipulate the time values. QTime uses 24 hour time format and have a granularity of hours, minutes, seconds, and milliseconds.