static QDateTime fromIBPPTimeStamp(IBPP::Timestamp &dt){ int y,m,d,h,min,s,ms; dt.GetDate(y,m,d); dt.GetTime(h,min,s,ms); return QDateTime(QDate(y,m,d), QTime(h,min,s,ms/10));}
static QDateTime fromTimeStamp(char *buffer){ static const QDate bd(1858, 11, 17); // !!!! QTime t; QTime t(0,0,0,0); QDate d;
static QTime fromTime(char *buffer)
if (!rp->isSelect()) rp->commit();
if (!localTransaction) return true;