in the day it gots very hot but in night it is freezing cold
Depends where the desert is. Re-ask the question giving the name of a specific desert. Generally however, deserts are scorching hot in the day and almost freezing at night.
In deserts, the temperature falls quite a lot, so it's a lot colder in the desert at night than it is in the day. It can fall below freezing.
It would drop below freezing during the night and then roast during the day
The Earth doesn't freeze at night primarily due to the retention of heat from the sun during the day. The atmosphere acts as an insulating layer, trapping some of the heat close to the surface. Additionally, factors such as ocean currents, geographical features, and the greenhouse effect help maintain temperatures above freezing in many regions, preventing widespread freezing conditions at night.
One Mars day is about 24 hours 48 minutes; almost the same as Earth!
Very hot during the day and freezing cold at night
The desert has such a diversity of animals ranging from cold booded lizards that sun bathe during the day, to desert owls that hunt at night for dune mice. The reason that there is such a diversity is that it is scorching hot during the day, and below freezing at night.
It rarely gets below freezing at night in the hot deserts. However, it can quickly get quite chilly. Humidity and clouds are rare in the desert. Without clouds and humidity to hold heat, the warmth of the day rapidly radiates back into space once the sun goes down.
The desert has such a diversity of animals ranging from cold booded lizards that sun bathe during the day, to desert owls that hunt at night for dune mice. The reason that there is such a diversity is that it is scorching hot during the day, and below freezing at night.
Desolate, hot all day, and extremely cold all night.
A correct revision would be: I worked hard all day so I could go out that night; I almost finished the entire project!