Hi Ali, > Using QLocate::c() static function, the problem of the proposed > fix can be solved. > > std::string s(QLocale::c().toString(v, "yyyy-MM-dd").toLatin1().constData()); Ok, that looks better. Will apply the fix for the next release. Boris