Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Why the date and time is not correct? Help me!
hungchuviet last edited by
I've send a message form one phone to another at 2010-nov-01 09:01:00 AM
but when I read inbox message from phone, it return the date 2010-nov-31 02:01:00
(I used 2 function: message.date() and message.receivedDate())
Date and time on my phone is the same as my computer and region setting
Must I add 7 hours to the date?
Thanks you very much!
jsiei97 last edited by
This sounds like UTC vs local timezones.
Inside all software you should use UTC and then on the other end when you would like to show it you convert it into the settings on that device.