code: def millis_interval(start, end):
      
      diff = end - start
      millis = diff.days * 24 * 60 * 60 * 1000
      millis += diff.seconds * 1000
      millis += diff.microseconds / 1000
      return millis
docs: start and end are datetime instances