Changed date and time formatting in the database to use the TIMESTAMP format. Implemented per-connection timezone on mysql.