iPhoto dateInterval to localized date


/ Published in: JavaScript
Save to your folder(s)

This will convert a *TimmerInterval* to a locaized date ...


Copy this code and paste it in your HTML
  1. (new Date(978300000000 + 196195080 *1000 )).toLocaleString();
  2.  
  3. //or
  4. (new Date(978300000000 + timerInterval *1000 )).toLocaleString();

URL: http://snipplr.com/developer/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.