However if you go further back in time (50 million years or so) it seems possible that the Earth was hotter than today, modulo all uncertainties and approximations needed to get to these figures: https://en.m.wikipedia.org/wiki/Geologic_temperature_record