ミッドナイトであれば
middonaitodeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of ミッドナイト

1. If midnight; When midnight

Ba Conditional