

Duration of stay is questionable!
Hi,
So I entered China 1st August 2013, and have a 6 month visa, my flight out of the country is 28th January, which if you count 180 days from the next day after entry is correct but 181 days from day of entry. So I read this duration of stay counts from next day after entry on many info websites and booked my flight accordingly....
My boyfriend came to visit on a 30 day one, entered 19th December and went to airport to fly home 19th January (again 30 days counted from day after entry) however at the airport he was kept for 45 minutes because they were furious that it was his 31st day (from date of entry) and gave him a horrible warning, he almost missed his flight! He said he tried to explain the duration of stay counts from the next day after entry but they still said no its 31st day please leave with a warning! So, I am worried now, what do I do?
Airport was Pu Dong Shanghai, I will be going to the same terminal as he went to, therefore possibly meaning same treatment?
Thanks