Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML date and time manipulation

$
0
0
thanks i try something like this :     function getDistance(time1) // time1 another date which i make by gettoday()     {         return Math.round((gettoday()-time1)/(60*60*24));     }       function gettoday()     {         var nowdate = new Date();         return nowdate/1000;     }

Viewing all articles
Browse latest Browse all 4972

Trending Articles