date.gettime

date.gettime

BY 09 Jul 2016 Web Application Development

Hello Guys, 

Anyone can help me to resolve this problem ? “date.getTime()”  not worked on tizen !!! how i can use this code ?

 

      var date= tizen.time.getCurrentDateTime(),
      then = tizen.time.getCurrentDateTime(date.getFullYear(),date.getMonth(),date.getDate(),0,0,0),
      diffInMil = (date.getTime() - then.getTime()),
      horotate = (diffInMil/(1000*60*60)),
      minrotate = (horotate*60),
      secrotate = (minrotate*60);

 

Written by