Reputation: 89
I want to store value from QDateEdit to String. I'have used following code:
QString str = ui->dateeditobject->date().toString("dd/mm/yyyy")
But the problem is, that the month value is not being stored as you can see in the picture.
Where am I going wrong?
Upvotes: 1
Views: 4586