The maximum temperature of the day is generally recorded in the:
afternoon
In the afternoon, especially around Noon. During this time, the sunlight is directly overhead perpendicular to the surface of the earth. The heating of the earth's surface and hence the temperature is obviously the maximum.