added conversion from string input to datetime in host game function