[Solved]convert mysql time to QDateTime and vise versa
General and Desktop
6
Posts
3
Posters
12.1k
Views
1
Watching
-
[quote author="Naouali" date="1306334812"]Hi
how can i convert a QDateTime to Mysql datetime ?thanks in advance[/quote]
Same way as you do it the other way around: simply rely on the Qt Sql drivers framework to do that for you.
I merged this question with the one you asked about doing it the other way around.