Fixed problem with different timezones.
Added Elmah error logging.