Usually hotels charge per night, which tends to be measured by you checking in after a certain time on the day before your first night, and checking out before a certain time on the day after your last night. There are sometimes discounts for staying only part of a day (a day rate).