On that second sample you showed me the error reporting code was not at the top of the page.
If you put it to the top does it make any difference (i.e does it give you any errors?)
I'm pretty sure that the server time will not be causing you any problems.
Cheers
Ian