It makes no difference how old you are when you book but you must be 21 the day you board. Even if you turn 21 on the second day of the cruise you will still not be able to drink for the entire cruise.
Also, as you asked in another post. You will need one person 25+ in the cabin in order to book. You cannot book a cabin unless you are 25+.