I'd think it would count for 31st of Aug. Similar to having a flight take off before midnight on NYE landing on NY's.
However I think Hertz did the opposite with a rental counting towards 2013 when I picked up before NYE but dropped off in the 1st week of January.
Sounds like a solid plan ^ Now if another stay would help with a megabonus promo...