Formal nights are scheduled according to the itinerary. As noted above, classically they are the first and last sea days, but that does not always work on every itinerary, and in fact they may change from voyage to voyage. I am not sure but I think on Princess there may be three formal nights on a 10 day cruise ... used to be, anyhow.
Have a GREAT cruise!