The time depends on the type of dessert but most desserts are good for at least 4 hours at room temperature unless they are served frozen or they depend upon refrigeration for structure like a French silk pie.