Based on days of ownership.
For example, if a seller and buyer close on April 1, then the seller would be responsible for the property taxes from January 1 – April 1 and therefore would pay they buyer their share of property tax prorations for those dates at closing.