PDA

View Full Version : QDate



ggdev001
26th February 2013, 14:09
Hello,

does anyone know if there is something similar in QDate to the initWithTimeIntervalSince1970 function which is present in iOS (https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSDate_Class/Reference/Reference.html ??Thanks.

Ashkan_s
26th February 2013, 14:19
Try QDateTime class.

Lykurg
26th February 2013, 14:21
QDateTime::fromMSecsSinceEpoch() with QDateTime::date()

EDIT: too late...