function intervalTickDistanceMilliseconds(interval) {
  // add COUNT nuumber of INTERVALS to the UNIX timestamp 0. e.g. add '5 hours' to 0. Then get the new timestamp
  // (in milliseconds). Since we added to 0 this will be the interval between each tick
  return moment(0)
    .add(interval.count, interval.interval)
    .valueOf();
}
/// For example a "5 seconds" interval would have a tick "distance" of 5000 milliseconds.
For example a "5 seconds" interval would have a tick "distance" of 5000 milliseconds.
For example a " 5 seconds " interval would have a tick " distance " of 5000 milliseconds .
function intervalTickDistanceMilliseconds(interval) {
  return moment(0)
    .add(interval.count, interval.interval)
    .valueOf();
}
function intervalTickDistanceMilliseconds ( interval ) { return moment ( 0 ) . add ( interval . count , interval . interval ) . valueOf ( ) ; }
For example a "5 seconds" interval would have a tick "distance" of 5000 milliseconds.
For example a " 5 seconds " interval would have a tick " distance " of 5000 milliseconds .
// add COUNT nuumber of INTERVALS to the UNIX timestamp 0. e.g. add '5 hours' to 0. Then get the new timestamp // (in milliseconds). Since we added to 0 this will be the interval between each tick