View Full Version : QDateTimeEdit 24Hours Format
metRo_
22nd December 2010, 17:08
Hi, how can i set the QDateTimeEdit with a 24 hours format? I read something about the setlocale but i can't figure it out how to change. :s
JackHammer
22nd December 2010, 18:21
You can use
setDisplayFormat ( const QString & format ) function to specify the date and time format. Check
QDateTime::toString() for the available formats.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.