Accrued Interest

Very simple question. If someone can confirm, I would greatly appreciate it! When we compute the PV of dirty price of a bond between coupon payments (seller selling the bond to a buyer at settlement date), is the PV that we calculated AT settlement date or at the time of last coupon payment? Thanks so much!

No, I understan we calculate this as at the date of settlement. How could it be otherwise?