The ideal time to visit Myanmar is during the cool season. However, rainfall in Bagan and Mandalay is very low, even in the rainy season. Myanmar has three 'seasons':
Hot Season
March to May with average temperatures 30-35 C
Rainy Season
June to September with average temperatures 25-30 C
Cool Season
October to February with average temperatures 20-24 C