Ovulation

Does dpo go by the last day, most ovulating day, or first day of ovulation??