title: convert milliseconds and to local time and date javascript
body: <p>I developing an android application using titanium in that i need to convert the Milliseconds time to UTC local time format.For that i tried several js but didn't worked out.</p>
  
  <p><a href="http://www.epochconverter.com/" rel="nofollow">Perfect link that converts milliseconds to local time</a></p>
  
  <p>My millisecond time format will be <strong><em>1396250512</em></strong></p>
  
  <p>I need to convert to local time like Monday, <strong><em>March 31, 2014 12:51:51 PM</em></strong></p>
  
  <blockquote>
    <p>new Date(+new Date * 1000).toLocaleString()</p>
  </blockquote>
  
  <p>i used this to convert ms to local time..But Each time i trying the above code gives me different time.</p>