Thread
:
[Sailfish] Unix timestamp from XML file to string
View Single Post
No.User
2014-01-25 , 10:08
Posts: 10 | Thanked: 0 times | Joined on Jan 2014
#
4
After I deployed the app to my Jolla the time zone was correct but on some dates the time is off by -1 Minute.
So I guess this is still not the correct way to do it. Can anyone tell me what is the right way to format a unix timestamp?
Code:
Qt.formatDateTime( new Date(model.date*1000),"dd.mm.YY - hh:mm" )
Quote & Reply
|
No.User
View Public Profile
Send a private message to No.User
Find all posts by No.User