hi, i am a beginner in C++ using Qt4, i need help in writting the regular expression to accept YYYY-MM-DD and YYYY MM DD date formats.
hi, i am a beginner in C++ using Qt4, i need help in writting the regular expression to accept YYYY-MM-DD and YYYY MM DD date formats.
1. Did you try to find it? Here are some examples. You can modify them.
2. I will assume you are trying to validate user input. If that is true, then take a look at QDateTimeEdit. It should this validation for you.
Last edited by lyuts; 2nd July 2010 at 10:41. Reason: updated contents
I'm a rebel in the S.D.G.
Bookmarks