Guest User

Untitled

a guest
Feb 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. $(document).ready(function() {
  2. var startValue = 25239778440;
  3. var startDate = new Date(2016, 01, 01, 0, 0, 0, 0);
  4. var now = new Date();
  5. var dif = now.getTime() - startDate.getTime();
  6. var Seconds_from_T1_to_T2 = dif / 1000;
  7. var Seconds_Between_Dates = Math.abs(Seconds_from_T1_to_T2);
  8. var finalValue = startValue + (Seconds_Between_Dates * 68.03);
  9. var myCounter = new flipCounter('myCounter', {
  10. value: finalValue,
  11. inc: 68.03,
  12. pace: 1000,
  13. auto: true
  14. });
  15.  
  16. Blink();
  17.  
  18. });
Add Comment
Please, Sign In to add comment