Often there are taxes and utility bills that cover periods both before and after the closing. These expenses need to be allocated between buyer and seller. In the real estate industry, these allocations are called "pro-rations."
To avoid problems at closing over the details of these pro-rations, you should describe the mechanics in the sales contract.