For example the user choose the date 2012-12-31 but the value submitted is 2012-12-30. It has something to do with timezone as explained
on this post