Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QDateEdit から String に値を格納したい。私は次のコードを使用しました:
QString str = ui->dateeditobject->date().toString("dd/mm/yyyy")
しかし問題は、写真でわかるように月の値が保存されていないことです。
どこが間違っていますか?
月は MM (大文字)、それ以外は分
ui->dateeditobject->date().toString("dd/MM/yyyy")
ドキュメンテーションはこちら。