Hamsters can safely enjoy exposure to direct sunlight during spring and summer months when the weather is warm and the days are longer. However, it's important to ensure they are not exposed to excessive heat, as hamsters are sensitive to high temperatures. Always provide shade, fresh water, and the option to retreat to a cooler area to prevent overheating.
In fall and winter, direct sunlight may not be as beneficial, as temperatures can be cooler, and it's important to keep their environment warm. Additionally, ensure that the sun doesn't create temperature fluctuations that could stress them.