This article is Basic article of QT.This article Shows how to get date and time alone and both combine.
Hear there is a use Of QDateTime class For Give combine Both date and time Which is located at calendar.you can change the value of date and time by Using setDate() and setTime().
If you want to get date only than you can use QDate and if you want to get time that you can use Qtime.This article is very useful for undarstanding Of basic classes of Qt.
Article shows the use of QDateTime header file. In many applications date or time shows at the bottom or at header. Article gives the clear idea to get the date or time from the mobile at any format.
[--Fasttrack 18:46, 17 September 2009 (UTC)]