I have a problem...
my database only want to receive the yyyy-mm-dd format for saving the data, but the user wants to input the date format in dd-mm-yyyy. i have set my QLineedit become ui->lineEditDate->setInputMask("00-00-0000"); (for user requirements). the problem is : how can i change the data that user input (dd-mm-yyyy) become yyyy-MM-dd for being accept by the database ???
Thx...
Bookmarks