def to_epoch_milliseconds(dt):
 return int(math.floor((1000.0 * epoch_timestamp(dt))))

def to_epoch_milliseconds ( dt ) : return int ( math . floor ( ( 1000.0 * epoch_timestamp ( dt ) ) ) )
returns the number of milliseconds from the epoch to date .