When posting a log from the iPhone app, Groundspeak's server date is used instead of the local date. This is also the default behaviour when posting a log on the geocaching.com website, but at least you can edit the date from the website; in the iPhone app, you can't.